[JBoss JIRA] (TEIIDDES-2493) Check for spaces in the parent directory Flat File connection importer
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2493?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2493:
------------------------------------------
> Is there something I'm missing or doing wrong? what is the RA <config-property name="ParentDirectory"> value supposed to be if the path contains spaces?
The property should contain spaces if the directory path contains spaces. However this seems to be more of a question about how that value is set/read. When you say something failed data source creation - how was that being created? In the cli space is a reserved character so quoting is needed. It's not clear to me why the xml config value cannot contain a space character directly (as long as it's not a trailing space).
> 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
> Labels: release_notes, verified_jbdsis-9.0.0.Beta
> Fix For: 10.0, 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)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2493) Check for spaces in the parent directory Flat File connection importer
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2493?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2493:
----------------------------------------
[~shawkins] I verified that trying to create/use a file source with *spaces* in the path will fail. I also tried to change the path to replace *spaces* with the * * code but that didn't work either.
I had a CSV file located at: */home/blafond/Downloads/temp_1/flat file folder* which failed data source creation.
I replaced the spaces in the path property on createDataSource() and the resulting RA property in standalone.xml was: */home/blafond/Downloads/temp_1/flat&#x20;file&#x20;folder*.
The console showed this DS was deployed:
08:01:49,541 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) JBAS010406: Registered connection factory java:/SourceModelDS_A
However, the preview failed with the following.....
org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 SourceModel: File not found EmpData.csv
Is there something I'm missing or doing wrong? what is the RA <config-property name="ParentDirectory"> value supposed to be if the path contains spaces?
Thx
> 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
> Labels: release_notes, verified_jbdsis-9.0.0.Beta
> Fix For: 10.0, 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)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2844) Quick fix on imported TD VDB produces exception
by Matus Makovy (JIRA)
Matus Makovy created TEIIDDES-2844:
--------------------------------------
Summary: Quick fix on imported TD VDB produces exception
Key: TEIIDDES-2844
URL: https://issues.jboss.org/browse/TEIIDDES-2844
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0
Reporter: Matus Makovy
Attachments: Screen Shot 2016-05-17 at 12.02.43.png, VDB1.vdb
When you import attached VDB to a project in TD, there will be a warning that "The VDB's model file "SourceModel" does not exist in the workspace.". After you try to apply quick fix, there is an exception(See screenshot).
Problem is that the model is in 2 folders (project/folder2/view/ViewModel). When you have a model that is directly in project folder or a model that is in one folder quick fix works.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2810) Import/Export Dynamic VDB utility doesn't transfer model descriptions
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2810?page=com.atlassian.jira.plu... ]
Matus Makovy commented on TEIIDDES-2810:
----------------------------------------
[~blafond]
Sorry, I was looking for the description in the bottom left corner of the screen.
> Import/Export Dynamic VDB utility doesn't transfer model descriptions
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-2810
> URL: https://issues.jboss.org/browse/TEIIDDES-2810
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 9.2
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Labels: release_notes, verified_jbdsis-8.0.7
> Fix For: 10.0, 9.0.7
>
> Attachments: DynamicVdb.patch
>
>
> import a dynamic vdb in Teid designer, the vdb and related models are generated, however, the descriptions are not taken into account properly. We expect to see the description in the Teiid designer.
> Same goes when we export a Teiid vdb to a vdb xml: the descriptions are not generated as xml elements.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2810) Import/Export Dynamic VDB utility doesn't transfer model descriptions
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2810?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2810.
----------------------------------
Resolution: Done
> Import/Export Dynamic VDB utility doesn't transfer model descriptions
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-2810
> URL: https://issues.jboss.org/browse/TEIIDDES-2810
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 9.2
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Labels: release_notes, verified_jbdsis-8.0.7
> Fix For: 10.0, 9.0.7
>
> Attachments: DynamicVdb.patch
>
>
> import a dynamic vdb in Teid designer, the vdb and related models are generated, however, the descriptions are not taken into account properly. We expect to see the description in the Teiid designer.
> Same goes when we export a Teiid vdb to a vdb xml: the descriptions are not generated as xml elements.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2810) Import/Export Dynamic VDB utility doesn't transfer model descriptions
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2810?page=com.atlassian.jira.plu... ]
Matus Makovy updated TEIIDDES-2810:
-----------------------------------
Labels: release_notes verified_jbdsis-8.0.7 (was: )
> Import/Export Dynamic VDB utility doesn't transfer model descriptions
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-2810
> URL: https://issues.jboss.org/browse/TEIIDDES-2810
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 9.2
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Labels: release_notes, verified_jbdsis-8.0.7
> Fix For: 10.0, 9.0.7
>
> Attachments: DynamicVdb.patch
>
>
> import a dynamic vdb in Teid designer, the vdb and related models are generated, however, the descriptions are not taken into account properly. We expect to see the description in the Teiid designer.
> Same goes when we export a Teiid vdb to a vdb xml: the descriptions are not generated as xml elements.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months
[JBoss JIRA] (TEIIDDES-2810) Import/Export Dynamic VDB utility doesn't transfer model descriptions
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2810?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2810:
----------------------------------------
[~mmakovy] I tested with both my 9.0.x and 10.0.x code-base and the VDB description: *My vdb description* was in the *description* tab in the VDB editor.
> Import/Export Dynamic VDB utility doesn't transfer model descriptions
> ---------------------------------------------------------------------
>
> Key: TEIIDDES-2810
> URL: https://issues.jboss.org/browse/TEIIDDES-2810
> Project: Teiid Designer
> Issue Type: Bug
> Components: Dynamic VDBs
> Affects Versions: 9.2
> Reporter: Debbie Steigner
> Assignee: Barry LaFond
> Fix For: 10.0, 9.0.7
>
> Attachments: DynamicVdb.patch
>
>
> import a dynamic vdb in Teid designer, the vdb and related models are generated, however, the descriptions are not taken into account properly. We expect to see the description in the Teiid designer.
> Same goes when we export a Teiid vdb to a vdb xml: the descriptions are not generated as xml elements.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 7 months