[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-845) Mysterious disappearance of CA in faces-config.xml

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Sep 14 10:27:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-845?page=comments#action_12376857 ] 
            
Viacheslav Kabanovich commented on JBIDE-845:
---------------------------------------------

It is likely to be WTP bug. I have been able to reproduce it with wtp's XML Editor (not Faces Config Editor!). I also found that to increase probability of failure, it is needed, after having saved modifications and before closing editor, to wait while all internal jobs in Eclipse are completed (flashing info in the right lower corner of Eclipse may indicate their progress).

Cause looks as follows: wtp has internal model for faces config, that is used in Faces Config Editor. That model is hooked to wtp's xml model. Any client that uses wtp's xml model must take it for read and then release it from read. If wtp's xml model is not released by some client, after reopening wtp's xml editor will not work correctly, one of results being the  failure of content assist. I found that if wtp's XML Editor (or Red Hat XML Editor) is used, then after saving modifications, internal wtp's model for faces config hooks to wtp's xml model, and does not release it, because it is designed to release xml model on closing its Faces Config Editor. 

The same problem takes place with web.xml. Again, wtp has internal model for it hooked to xml model, and in the same manner, it takes xml model for edit after saving modifications in XML Editor, and does not release it. 

> Mysterious disappearance of CA in faces-config.xml
> --------------------------------------------------
>
>                 Key: JBIDE-845
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-845
>             Project: JBoss Tools
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Beta3
>            Reporter: Anton Klimkovich
>         Attachments: 111.txt
>
>
> SFKickStart
> Open faces-config.xml
> Type "<" and call CA
> Select something from it
> Delete selecting string
> Save faces-config.xml
> Close faces-config.xml
> Reopen faces-config.xml
> Try to call CA. 
> Nothing happens. there is no CA at all.

-- 
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