[JBoss JIRA] Created: (TEIIDDES-518) DTP context menu options on Teiid tables should consider whether virtual model supports update.
by Ken Johnson (JIRA)
DTP context menu options on Teiid tables should consider whether virtual model supports update.
-----------------------------------------------------------------------------------------------
Key: TEIIDDES-518
URL: https://jira.jboss.org/browse/TEIIDDES-518
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 7.0
Environment: Teiid Designer 7.0 + JBoss Dev Studio 3.0.1GA
Teiid 7.1 Alpha on EAP 5.1
RHEL 6, OpenJDK 1.6
Reporter: Ken Johnson
In DTP, Context menu for Table contains several options under Data->(Edit, Load, Extract, Sample Contents). For virtual tables, Extract and Sample Contents are fine. Edit and Load will attempt to write data. Thus a few issues:
a) These options should be disabled if the table in question does not have Supports Update checked.
b) These options should be tested when the table *does* have Update and Insert procedures defined.
c) Tables in SYS schema should never be writable.
When working with physical tables, all options should be available and work correctly. Cursory testing indicates this is the case - at least with a MySQL data source underlying the model.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (TEIIDDES-902) NPE during Preview VDB setup when Model contains no valid metamodel descriptor
by Barry LaFond (JIRA)
NPE during Preview VDB setup when Model contains no valid metamodel descriptor
------------------------------------------------------------------------------
Key: TEIIDDES-902
URL: https://issues.jboss.org/browse/TEIIDDES-902
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.3
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 7.4
Had an old-old UML metamodel in workspace which had invalid metamodel type in it. Though Designer could handle it and show some model contents, the Preview Setup resulted in NPE.
java.lang.NullPointerException
at org.teiid.designer.runtime.preview.PreviewManager.isPreviewable(PreviewManager.java:218)
at org.teiid.designer.runtime.preview.jobs.ModelProjectOpenedJob.process(ModelProjectOpenedJob.java:81)
Need to check for NULL metamodelDescriptor and return FALSE
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (TEIIDDES-901) NPE Deleting project with UDF model in it
by Barry LaFond (JIRA)
NPE Deleting project with UDF model in it
-----------------------------------------
Key: TEIIDDES-901
URL: https://issues.jboss.org/browse/TEIIDDES-901
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 7.3
Reporter: Barry LaFond
Assignee: Barry LaFond
Priority: Critical
Fix For: 7.4
Just as the title says, NPE.
java.lang.NullPointerException
at org.teiid.designer.udf.UdfManager.registerFunctionModel(UdfManager.java:197)
at org.teiid.designer.udf.UdfManager.resourceChanged(UdfManager.java:241)
Looks like UdfManager is responding to a resource event, ModelResource == NULL, but we still try and register with a path.. which can be NULL too.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months