[
https://jira.jboss.org/browse/JBIDE-7301?page=com.atlassian.jira.plugin.s...
]
Daniel Azarov updated JBIDE-7301:
---------------------------------
Attachment: log.txt
I tried to reproduce this bug. I opened Web Project View and opened faces-config.xml. I
renamed name property when faces-config was open on Diagram, Tree and Source tabs.
I got few exceptions (see log.txt) when faces-config.xml file was opened on Source tab and
value of property on Web Project View was not updated.
Problem with Refactor>Rename field in JSF KickStart project when
faces-config.xml is open
-----------------------------------------------------------------------------------------
Key: JBIDE-7301
URL:
https://jira.jboss.org/browse/JBIDE-7301
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.M2
Environment: jbdevstudio-eap-win32-4.0.0.v201010052359R-H30-Beta1, Windows XP,
JDK 1.6.0_21
Reporter: Snjezana Peco
Assignee: Daniel Azarov
Fix For: 3.2.0.Beta2
Attachments: log.txt
Steps to reproduce:
- create a JSF KickStart project on JBoss EAP bundled with JBDS
- start the EAP server and verify that the application runs correctly
- open faces-config.xml
- right-click the name property and call Refactor>Rename
- rename the property to name1 and accept the default values for the remaining elements
in the Rename Field dialog
- click OK
faces-config.xml is dirty and contains the "name" value.
- close faces-config.xml without saving and reopen it
faces-config.xml contains the "name1" value.
The Refactor>Rename operation isn't synchronized with the WTP model. In my
opinion, this is the reason why the SSE model is being unnecessarily opened by the EL
validator (see
https://jira.jboss.org/browse/JBIDE-7021?focusedCommentId=12553479page=co...)
The problem can also be reproduced in the JBT trunk.
--
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