[jbosstools-issues] [JBoss JIRA] (JBIDE-8855) Properties Editor doesn't reflect external changes to properties file

Viacheslav Kabanovich (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 28 18:03:45 EDT 2011


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

Viacheslav Kabanovich commented on JBIDE-8855:
----------------------------------------------

Model applies changes independently through resource listener before the editor is notified, that makes it difficult to support this logic. To fix it consistently, we would have to implement working copies in model, which is a very complicated task.
                
> Properties Editor doesn't reflect external changes to properties file
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-8855
>                 URL: https://issues.jboss.org/browse/JBIDE-8855
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.2.1.M1
>         Environment: jbdevstudio-product-linux-gtk-4.1.0.v201105011951R-H359-M1, linux 32bit, java sun jdk 1.6_24
>            Reporter: Vlado Pakan
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.x
>
>
> Create project with .properties file
> Scenario 1:
> - open .properties file with JBoss Tools Properties Editor
> - remove .properties file from project via OS command
> - click on .properties file in JBDS
> - file disappear, expected behavior is to display dialog saying that file was deleted and asking if changes should be saved
> Scenario 2:
> - open .properties file with JBoss Tools Properties Editor
> - make some changes to .properties file via JBoss Tools Properties Editor and do not save them
> - make some changes to .properties file via external editor and save them
> - click on .properties file in JBDS
> - dialog informing that .properties file was externally modified and asking user if he wants to reload file is displayed
> - either user choose yes or no from this dialog changes are reloaded, expected behavior is that when user says no to reload changes changes are not reloaded

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list