[
https://issues.jboss.org/browse/TEIIDDES-2493?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2493:
----------------------------------------
I think what we've arrived at is that because the server and Tooling can be running on
different OS's then the Tooling can't guarantee that the URL sent to the server as
a property will actually work on the server. So our options/notes are:
1) Add some validation logic to Designer to validate the URL on entry and warn the user
that any "Spaces" in the URL or path may render the URL useless on some
OS's. Also add logic to validate the URL and warn them during Create Data Source
actions.
2) In reality, the URL is used on the Server side and errors out on some OS's because
of the invalid format. A user can hand-edit the standalone.xml config file and break it
anyway. Unless the Teiid Runtime is using this URL and creating it's on connections,
there's not much they can do either to prevent the error from occurring by massaging
the URL to make it valid based on OS.
Check for spaces in the parent directory Flat File connection
importer
----------------------------------------------------------------------
Key: TEIIDDES-2493
URL:
https://issues.jboss.org/browse/TEIIDDES-2493
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export, Patch Release
Reporter: Ramesh Reddy
Assignee: Mark Drilling
Fix For: 11.1
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.
{code:java}
<config-property name="ParentDirectory">
/home/mdrilling/My Dir/data
</config-property>
{code}
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 {code:java} {code} - like this
{code:java}
<config-property name="ParentDirectory">
/home/mdrilling/My Dir/data
</config-property>
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)