[jbosstools-issues] [JBoss JIRA] (JBIDE-15789) Renaming HTML file doesn't change editor title

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Oct 30 13:35:01 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825887#comment-12825887 ] 

Viacheslav Kabanovich commented on JBIDE-15789:
-----------------------------------------------

This is reproduced in projects that do not have JSF nature. Class JSPMultiPageEditor.ResourceChangeListener that should update editor input and title in method resourceChanged() makes call EclipseResourceUtil.getObjectByResource(IResource) that works in JSF project, but not in other projects. This should be replaced by EclipseResourceUtil.createObjectForResource(IResource) in two occurances in this method. I have tried it, it works.
                
> Renaming HTML file doesn't change editor title
> ----------------------------------------------
>
>                 Key: JBIDE-15789
>                 URL: https://issues.jboss.org/browse/JBIDE-15789
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.1.1.Beta1
>         Environment: JBT 4.1.1 Beta1-v20131020-0207-B454 Linux KDE
>            Reporter: Vlado Pakan
>            Assignee: Victor Rubezhny
>             Fix For: 4.2.x
>
>
> 1. Create project with HTML file
> 2. Open HTML file in VPE
> 3. Rename HTML file in Package Explorer
> ASSERT: File is renamed in Package Explorer
> ERROR: Editor title of opened HTML file is not changed

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list