[
http://jira.jboss.com/jira/browse/JBIDE-2219?page=comments#action_12413077 ]
Victor Rubezhny commented on JBIDE-2219:
----------------------------------------
I can reproduce the issue only in case of immediately creating an entity (while the
project being built and validated). In other cases all works fine.
If the issue is reproduced it seems that the modified document isn't freed after the
editors are closed. Then, when you start the editor again, this non-discarded document is
connected to the new editor. But I don't see a reason why the document isn't
discarded (IStructuredModel seems to be released during the editor dispose procedure -
this has cause the document to be discarded).
Default Seam's entity xhtml page save changes after closing file
and selecting do not save on Save Resource wizard.
--------------------------------------------------------------------------------------------------------------------
Key: JBIDE-2219
URL:
http://jira.jboss.com/jira/browse/JBIDE-2219
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.1.0.GA
Environment: JBoss Tools build form 14.05.2008 10:54:34
Reporter: Anton Klimkovich
Assigned To: Victor Rubezhny
Priority: Blocker
Fix For: 2.1.0.GA
EXECUTE: Create default Seam Ear web project
EXECUTE: Create new Entity (name: NewEntity for examlpe)
EXECUTE: Open newEntity.xhtml
EXECUTE: Insert <s:button></s:button> after <ui:define
name="body"> and donot save changes.
EXECUTE: Close file .
EXECUTE: Select "No" on Save Resource wizard.
EXECUTE: Open newEntity.xhtml.
FAILURE: <s:button></s:button> is present in newEntity.xhtml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira