Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2493

Check for spaces in the parent directory Flat File connection importer

XMLWordPrintable

      Add a check to make sure there are no spaces in the ParentDirectory or root directory path when Flat File Connection Profile is chosen.

      ====================
      The problem is manifested on the server when attempting to query the datasource. On datasource creation, the resource adapter is written to the standalone.xml like this.

      <config-property name="ParentDirectory">
             /home/mdrilling/My Dir/data
      </config-property>
      

      The embedded space in the ParentDirectory property value is problematic.

      Need to determine whether to (1) disallow a path with spaces or (2) allow it, replacing the space with the appropriate control code ie

      &#x20;

      - like this

      <config-property name="ParentDirectory">
             /home/mdrilling/My&#x20;Dir/data
      </config-property>
      

              blafond Barry LaFond
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: