[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2257) Invalid preference page path: XML Occurrences and JSP Occurrences

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sat May 24 19:59:42 EDT 2008


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


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list