[
http://jira.jboss.com/jira/browse/JBIDE-864?page=comments#action_12381664 ]
Viacheslav Kabanovich commented on JBIDE-864:
---------------------------------------------
Behavioral changes to fix the issue: XModel will not override changes in text, until
changes are made in xmodel based form or tree editors. As long as changes are being made
in Source tab, text remains as typed.
EXECUTE: create JSFKickStart JSF1.2
EXECUTE: web.xml
EXECUTE: <param-value>server</param-value> call CA and select
<description>
ASSERT: <description></description> is inserted
EXECUTE: Save web.xml
ASSERT: String <description></description> persists.
ASSERT: Line with this string has error marker which means that tag <description> is
placed incorrectly.
Further take one of two cases.
Case 1.
EXECUTE: Open Tree tab and navigate to context-param node in tree.
EXECUTE: Input text to 'Description' field editor.
EXECUTE: Open Source tab.
ASSERT: <description> tag with set value is moved to correct position and error
marker disappeared.
Case 2.
EXECUTE: Open Tree tab and navigate to context-param node in tree.
EXECUTE: Input text to 'Description' field editor and erase it again.
EXECUTE: Open Source tab.
ASSERT: <description> tag is removed as redundant and error marker disappeared.
Empty tags disappeare in web.xml after save.
--------------------------------------------
Key: JBIDE-864
URL:
http://jira.jboss.com/jira/browse/JBIDE-864
Project: JBoss Tools
Issue Type: Bug
Affects Versions: 2.0.0.Beta3
Reporter: Anton Klimkovich
Assigned To: Viacheslav Kabanovich
Priority: Minor
Attachments: Empty tags.PNG
JSFKickStart JSF1.2
Open web.xml
After <param-value>server</param-value> call CA and select
<description>
<description></description> will be inserted
Save web.xml
String <description></description> will disappear.
And validation error appeares. (look at screenshot)
--
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