[
https://jira.jboss.org/browse/JBIDE-6901?page=com.atlassian.jira.plugin.s...
]
Xue Peng commented on JBIDE-6901:
---------------------------------
But there is a problem , If we have two Java bean : A , B .
A has a reference , and the type is B
B has a reference , type is A , it means there is a "circle reference".
Then let's imagine that , when we want to select the A ( at the wizard tree viewer)
and we want the A node can be expand itself , all child nodes of A can be select
automatically , so the B ( child node of A) need to be selected too.
OK , follow our rule , B should be expand automatically too (because it was selected) ,
then the problem happens : A is the child node of B , it need be selected and expand ,
another B will appear and expand again.....
So , I think we should find a way to avoid this problem.
Any idea?
Expanding in Smooks Java Bean Instance dialog affects how bean is
inserted
--------------------------------------------------------------------------
Key: JBIDE-6901
URL:
https://jira.jboss.org/browse/JBIDE-6901
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.0.M2
Environment: JBT 3.2.0 M2, Linux 64
Reporter: Jiri Peterka
Assignee: Xue Peng
Fix For: 3.2.0.Beta
Attachments: smooks-bean-dlg.png, smooks-bean-expanding.png
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Steps:
1. Have Java Mapping task in smooks-config editor
2. Add Java Class on canvas
3. Select composited bean class (like Order - containing OrderItem, Header) or any other
class composed like that
4. Click OK
5. Try to do it again with expanding (and/or collapsing) tree in the dialog. Let
everything checked as it is
ASSERT: Result should be the same
ASSERT: Both steps should result to expanded model on canvas (as it seems to be selected
by default)
Note: Possibly linked with
https://jira.jboss.org/browse/JBIDE-5358
--
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