[
https://jira.jboss.org/jira/browse/JBIDE-2833?page=com.atlassian.jira.plu...
]
Xue Peng resolved JBIDE-2833.
-----------------------------
Resolution: Done
If the root nodes unconnect , the contents of config file generated will occur some
errors, but it isn't a bug for JavaBeanAnalyzer , I don't think I need to change
the logic of the JavaBeanAnalyzer.
So I do this for this bug :
If the root nodes don't connect , when user want to save the file , there will open a
question dialog to ask user if them want to connect the root nodes, if user click
"OK" , the tools will connect the root node by itself .
Maps without root node connection do not deserialize correctly
--------------------------------------------------------------
Key: JBIDE-2833
URL:
https://jira.jboss.org/jira/browse/JBIDE-2833
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Environment: FC8, Europa Ganymede
Reporter: John Graham
Assignee: Xue Peng
Priority: Blocker
Fix For: 3.0.0.beta1
Attachments: no-root-connection.jpg, not-deserialized.jpg
JavaBean2JavaBean
Failing to connect root node to root nodes means that the other mappings defined will not
deserialize correctly when the editor is closed and reopened. (See attached images.)
Is the root node connection actually required at run time for the configuration file to
work correctly? If not, then the editor should not enforce this constraint. If so, then
this is an invariant in the configuration file: the connection from root node to root node
should be automatically added by the editor and the "delete" action should be
disabled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira