[jbosstools-issues] [JBoss JIRA] (JBIDE-21399) Editor should be shown as dirty if saving of modified resource failed

Fred Bricon (JIRA) issues at jboss.org
Tue Jan 5 12:21:00 EST 2016


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

Fred Bricon commented on JBIDE-21399:
-------------------------------------

leaving the editor dirty on error makes total sense, however I disagree about rolling back to previous valid values. If the user made non-trivial changes and a simple typo made its content invalid, then it should be easily fixable. Since it'd be shown as dirty, it's implied reopening the resource would display the latest valid content.

> Editor should be shown as dirty if saving of modified resource failed
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-21399
>                 URL: https://issues.jboss.org/browse/JBIDE-21399
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.Final
>            Reporter: Marián Labuda
>            Assignee: Fred Bricon
>             Fix For: 4.3.1.Beta2
>
>
> After editing resource to inappropriate state and save it, there is an error that update of a resource failed but content of text editor is saved and its state does not reflect current state of resource on OS 3 server. If update of a resource was not successful, opened text editor with the given resource json should be still shown as dirty.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list