[
https://issues.jboss.org/browse/TEIIDDES-2493?page=com.atlassian.jira.plu...
]
Matus Makovy commented on TEIIDDES-2493:
----------------------------------------
So what is the resolution here ? Is there some check for the white space needed ? Because
we have some test for this.
It was closed by us and then reopened because of some minor issue (See Matej's
comment). From that moment, the conversation here changed direction whether is the check
really necessary.
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: 10.0, 10.0.2, 9.2.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
(v6.4.11#64026)