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

Check if URL contains empty spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 10.0.1
    • Fix Version/s: 11.1
    • Component/s: Import/Export
    • Labels:
      None
    • Environment:

      Fedora 23

    • Steps to Reproduce:
      Hide
      1. create new connection profile (flat file URL source)
      2. set URL to you local file (for example "file:///home/mkralik/Downloads/folder with space/productdata_data.csv")
      3. import source and view model (Flat file via remote URL)
      4. create data source from source model
      5. check standalone.xml
      Show
      create new connection profile (flat file URL source) set URL to you local file (for example "file:///home/mkralik/Downloads/folder with space/productdata_data.csv") import source and view model (Flat file via remote URL) create data source from source model check standalone.xml

      Description

      When I tried to reproduce this bug (TEIIDDES-2493)
      I've found a way how set file whose path contains empty string. I set the file path as a URL and use import from remote flat file. Problem is same as (TEIIDDES-2493).
      When i created datasource, file path is written to the standalone.xml with empty space.

      <config-property name="EndPoint">
                   file:/home/mkralik/Downloads/folder with space/productdata_data.csv
      </config-property>
      

      I think user

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  blafond Barry LaFond
                  Reporter:
                  mkralik Matej Kralik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: