[JBoss JIRA] (TEIIDDES-3092) Extension models imported from runtime are not properly setting the namespace URL
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-3092:
--------------------------------------
Summary: Extension models imported from runtime are not properly setting the namespace URL
Key: TEIIDDES-3092
URL: https://issues.jboss.org/browse/TEIIDDES-3092
Project: Teiid Designer
Issue Type: Bug
Components: Extension Framework, Teiid Integration
Affects Versions: 11.0.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 11.0.2
Working on testing the infinispan-hotrod translator, the resulting imported extension model namepsace URL was set to 2014 version. Turns out this is hardcoded.
The translator properties are prefixed with the URL, so should discover this value for each extension model and set properly.
see MxdConverter.java class
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2947) Saving as Relational Source Model breaking View Model references
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2947?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2947:
-----------------------------------
Fix Version/s: 11.2
(was: 11.0.2)
> Saving as Relational Source Model breaking View Model references
> -----------------------------------------------------------------
>
> Key: TEIIDDES-2947
> URL: https://issues.jboss.org/browse/TEIIDDES-2947
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors
> Affects Versions: 10.0.2
> Reporter: stanislav kaleta
> Fix For: 11.2
>
> Attachments: SaveAsProject.zip
>
>
> I have a Source Model which is referenced in View Model. When I use Save As action to create a copy of Source Model, every SQL Transformation reference in View Model will break
> Error log: _Sql transformation in the model RelationalViewModel contains the unresolved reference file:/<+location where new model was saved as+>_
> I didn't select View Model in Import References dialog and references still somehow changed to new model( + are broken).
> When I select View Model in Import References dialog, references are changed to new model correctly, although model has still a reference to old Source Model too.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2947) Saving as Relational Source Model breaking View Model references
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2947?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2947:
-----------------------------------
Workaround Description: For the virtual model with errors, open each view's transformation editor which will clean up the bad EMF references. Saving model afterwards will remove the errors.
Workaround: Workaround Exists
> Saving as Relational Source Model breaking View Model references
> -----------------------------------------------------------------
>
> Key: TEIIDDES-2947
> URL: https://issues.jboss.org/browse/TEIIDDES-2947
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors
> Affects Versions: 10.0.2
> Reporter: stanislav kaleta
> Fix For: 11.0.2
>
> Attachments: SaveAsProject.zip
>
>
> I have a Source Model which is referenced in View Model. When I use Save As action to create a copy of Source Model, every SQL Transformation reference in View Model will break
> Error log: _Sql transformation in the model RelationalViewModel contains the unresolved reference file:/<+location where new model was saved as+>_
> I didn't select View Model in Import References dialog and references still somehow changed to new model( + are broken).
> When I select View Model in Import References dialog, references are changed to new model correctly, although model has still a reference to old Source Model too.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2947) Saving as Relational Source Model breaking View Model references
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2947?page=com.atlassian.jira.plu... ]
Barry LaFond edited comment on TEIIDDES-2947 at 6/29/17 4:35 PM:
-----------------------------------------------------------------
Spent a bunch of time today trying to figure out why copying a Relational model and NOT replacing it's references to a Virtual model would actually muck up the view model
I did verify that if you open each transformation in the T-Editor, then the query framework will fix the references. Doing a save after that... will remove these problem/errors.
I also verified that it's not due to newer Eclipse/EMF. The same issue exists in Designer 10.x versions.
was (Author: blafond):
Spent a bunch of time today trying to figure out why copying a Relational model and NOT replacing it's references to a Virtual model would actually muck up the view model
I did verify that if you open each transformation in the T-Editor, then the query framework will fix the references. Doing a save after that... will remove these problem/errors.
> Saving as Relational Source Model breaking View Model references
> -----------------------------------------------------------------
>
> Key: TEIIDDES-2947
> URL: https://issues.jboss.org/browse/TEIIDDES-2947
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors
> Affects Versions: 10.0.2
> Reporter: stanislav kaleta
> Fix For: 11.0.2
>
> Attachments: SaveAsProject.zip
>
>
> I have a Source Model which is referenced in View Model. When I use Save As action to create a copy of Source Model, every SQL Transformation reference in View Model will break
> Error log: _Sql transformation in the model RelationalViewModel contains the unresolved reference file:/<+location where new model was saved as+>_
> I didn't select View Model in Import References dialog and references still somehow changed to new model( + are broken).
> When I select View Model in Import References dialog, references are changed to new model correctly, although model has still a reference to old Source Model too.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2947) Saving as Relational Source Model breaking View Model references
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2947?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2947:
----------------------------------------
Spent a bunch of time today trying to figure out why copying a Relational model and NOT replacing it's references to a Virtual model would actually muck up the view model
I did verify that if you open each transformation in the T-Editor, then the query framework will fix the references. Doing a save after that... will remove these problem/errors.
> Saving as Relational Source Model breaking View Model references
> -----------------------------------------------------------------
>
> Key: TEIIDDES-2947
> URL: https://issues.jboss.org/browse/TEIIDDES-2947
> Project: Teiid Designer
> Issue Type: Bug
> Components: Editors
> Affects Versions: 10.0.2
> Reporter: stanislav kaleta
> Fix For: 11.0.2
>
> Attachments: SaveAsProject.zip
>
>
> I have a Source Model which is referenced in View Model. When I use Save As action to create a copy of Source Model, every SQL Transformation reference in View Model will break
> Error log: _Sql transformation in the model RelationalViewModel contains the unresolved reference file:/<+location where new model was saved as+>_
> I didn't select View Model in Import References dialog and references still somehow changed to new model( + are broken).
> When I select View Model in Import References dialog, references are changed to new model correctly, although model has still a reference to old Source Model too.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months