Uploaded image for project: 'Batch Import Application'
  1. Batch Import Application
  2. BATCHIMP-3

Default space name set in configuration is cleaned although documentation says differently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2
    • 1.1
    • None
    • None

    Description

      In the BatchImporterConfig, a default space can be set, where pages will be imported if nothing is specified in the excel / csv.
      The same config allows to configure if the names of pages / spaces read from the Excel / CSV should be cleaned up before import (clear whitespace and special characters). The documentation of the "clear name" configuration says that the default space is not cleaned up:

      This does not apply to #getDefaultSpace() and #getEmptyDocNamePrefix(), if these need to be cleared, they need to be cleared when passed to the importer.

      But this is, actually, false, the default space is actually cleaned up.
      This is an issue, and the way it should be corrected is that, indeed, the default space should not be cleaned up (this would also allow to pass nested spaces compatible default space, containing a dot in the name - see BATCHIMP-2 ).

      Attachments

        Activity

          People

            lucaa Anca Luca
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: