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

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Sun May 25 17:15:42 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-2257?page=all ]

Snjezana Peco updated JBIDE-2257:
---------------------------------

    Attachment: preference2x.gif
                preference30.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
>
>
> 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