[JBoss JIRA] (TEIIDDES-1601) Error Setting Extension Properties When Creating Table In A Virtual Model
by Dan Florian (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1601?page=com.atlassian.jira.plu... ]
Dan Florian resolved TEIIDDES-1601.
-----------------------------------
Resolution: Done
Pull request merged into master branch.
> Error Setting Extension Properties When Creating Table In A Virtual Model
> -------------------------------------------------------------------------
>
> Key: TEIIDDES-1601
> URL: https://issues.jboss.org/browse/TEIIDDES-1601
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 8.0
> Reporter: Dan Florian
> Assignee: Dan Florian
> Fix For: 8.1
>
>
> When creating a table in a virtual model this message shows in the error log: "Error setting extension properties on table-name." Turns out that error message is hiding this exception: java.lang.Exception: The property definition "relational:native-query" could not be found. The reason for the error is RelationalViewModelFactory.buildObject method is passing the wrong value for the "isVirtual" flag.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (TEIIDDES-627) File > Save As action results in validation errors in new model if model is virtual and folder location different than original location.
by Dan Florian (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-627?page=com.atlassian.jira.plug... ]
Dan Florian closed TEIIDDES-627.
--------------------------------
Resolution: Done
Pull request merged into master branch.
> File > Save As action results in validation errors in new model if model is virtual and folder location different than original location.
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-627
> URL: https://issues.jboss.org/browse/TEIIDDES-627
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 7.0, 7.1
> Reporter: Barry LaFond
> Assignee: Dan Florian
> Priority: Minor
> Fix For: 8.1
>
>
> The ModelCopyCommand class doesn't take into account the possibility in having a destination folder different than the original model.
> The Action will perform the Save As OK, however, there may be validation errors due to unresolved Imports and Objects
> By selecting the model and Rebuilding Imports, the validation errors should get fixed.
> There may be Criteria errors if the SQL contains the full path/model name. users will need to re-edit the Criteria to fix it.
> The elegant fix would be to :
> 1) Perform a rebuildImports() action during the command execution
> 2) determine the relative path change due to different destinations and perform an HRef update (SEE ResourceMoveCommand)
> 3) Perform an update to the Criteria via RefactorModelExtensionManager framework. (i.e. MappingRefactorModelHandler)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months
[JBoss JIRA] (TEIIDDES-627) File > Save As action results in validation errors in new model if model is virtual and folder location different than original location.
by Dan Florian (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-627?page=com.atlassian.jira.plug... ]
Dan Florian updated TEIIDDES-627:
---------------------------------
Git Pull Request: https://github.com/Teiid-Designer/teiid-designer/pull/111
> File > Save As action results in validation errors in new model if model is virtual and folder location different than original location.
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-627
> URL: https://issues.jboss.org/browse/TEIIDDES-627
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 7.0, 7.1
> Reporter: Barry LaFond
> Assignee: Dan Florian
> Priority: Minor
> Fix For: 8.1
>
>
> The ModelCopyCommand class doesn't take into account the possibility in having a destination folder different than the original model.
> The Action will perform the Save As OK, however, there may be validation errors due to unresolved Imports and Objects
> By selecting the model and Rebuilding Imports, the validation errors should get fixed.
> There may be Criteria errors if the SQL contains the full path/model name. users will need to re-edit the Criteria to fix it.
> The elegant fix would be to :
> 1) Perform a rebuildImports() action during the command execution
> 2) determine the relative path change due to different destinations and perform an HRef update (SEE ResourceMoveCommand)
> 3) Perform an update to the Criteria via RefactorModelExtensionManager framework. (i.e. MappingRefactorModelHandler)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 3 months