]
Snjezana Peco updated JBIDE-2257:
---------------------------------
Attachment: preference30fixed.gif
Invalid preference page path: XML Occurrences and JSP Occurrences
-----------------------------------------------------------------
Key: JBIDE-2257
URL:
http://jira.jboss.com/jira/browse/JBIDE-2257
Project: Tools (JBoss Tools)
Issue Type: Component Upgrade
Components: jsp/jsf/xml source editing
Affects Versions: 3.0.alpha
Reporter: Snjezana Peco
Assigned To: Snjezana Peco
Priority: Minor
Attachments: preference2x.gif, preference30.gif, preference30fixed.gif
In order to reproduce the issue, you need to call Window>Preferences
You will get the following messages:
Invalid preference page path: JSP Occurrences
Invalid preference page path: XML Occurrences
The issue is caused by changes in wtp's preference pages.
There is also a problem of initializing preferences within XML Occurrences (it also
exists in the 2.1.x version).
The issue can be reproduced by opening this page in a new workspace before opening some
xml editor.
All the preferences will be "false". This happening because the
org.jboss.tools.common.text.xml plugin changes the preferences of the
org.eclipse.wst.xml.ui plugin what causes the initializer of the
org.jboss.tools.common.text.xml plugin no to be called.
The initialization of these preferences is called in the XMLTextEditor constructor.
In my opinion, it would be better to call it in the XmlEditorPlugin constructor. In that
case, they would be initialized correctly before opening some xml editor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: