[
https://issues.jboss.org/browse/TEIIDDES-1640?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1640:
----------------------------------------
Simple solution is to remove the command via ModelEditorImpl.createCommands() method.
if the resulting command is a DisabledCommand, then don't add it to the list.
So if a relational Procedure already contains a Result Set, then the New Child > Result
Set action will not show up and same for the Web Service Operation
Creating a WS operation input or output message when they already
exist results in ModelerCoreException
-------------------------------------------------------------------------------------------------------
Key: TEIIDDES-1640
URL:
https://issues.jboss.org/browse/TEIIDDES-1640
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 8.1
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 8.1
Modeler Core Exception: Status ERROR: org.teiid.core.designer code=0 Unable to execute
Command : org.teiid.designer.core.util.DisabledCommand@34f83a29 null
at
org.teiid.designer.core.ModelEditorImpl.executeCommandInTransaction(ModelEditorImpl.java:1739)
at org.teiid.designer.core.ModelEditorImpl$5.run(ModelEditorImpl.java:687)
at
org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:568)
at
org.teiid.designer.core.ModelEditorImpl.executeAsTransaction(ModelEditorImpl.java:612)
at
org.teiid.designer.core.ModelEditorImpl.createNewSiblingFromCommand(ModelEditorImpl.java:698)
at org.teiid.designer.ui.actions.NewSiblingAction.doRun(NewSiblingAction.java:194)
at org.teiid.designer.ui.common.actions.AbstractAction$1.run(AbstractAction.java:544)
at
org.teiid.designer.ui.common.viewsupport.UiBusyIndicator$2$1.run(UiBusyIndicator.java:206)
--
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