[
https://issues.jboss.org/browse/JBIDE-7907?page=com.atlassian.jira.plugin...
]
DartPeng commented on JBIDE-7907:
---------------------------------
The reason of this issue :
The model type is wrong ,so the EditpartFactory generate the error edit part. When the
DeleteAction ask for the "DeleteCommand" , it returns the
"TreeNodeConnectionDeleteCommand" , this class can't delete the
"sub-connections" when the parent connection was deleted. ( actually , it should
return the "DeleteFreeMarkerConnectionCommand" )
How to resolve
Find out what's the model type the smooks generate for the freemarker node when the
editor is opening , if the model type is wrong , correct it.
The sub connections can't be deleted when the parent connection
was deleted
---------------------------------------------------------------------------
Key: JBIDE-7907
URL:
https://issues.jboss.org/browse/JBIDE-7907
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.0.Beta2
Reporter: DartPeng
Assignee: DartPeng
Fix For: 3.2.0.CR1
1.Create a XML-to-XML mapping
2.Link the source collection node to target collection node.
3.link the sub node of source collection node to target sub node of collection node.
4.Save
5.Open it again and delete the parent connection ( the line between the source/target
collection node)
The sub connection can't be deleted.
Please take a look the flash :
http://screencast.com/t/IbQvPoBvQ
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira