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

Marián Labuda (JIRA) issues at jboss.org
Tue Jan 5 12:30:00 EST 2016


     [ https://issues.jboss.org/browse/JBIDE-21399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marián Labuda updated JBIDE-21399:
----------------------------------
    Steps to Reproduce: 
ASSERT: Have an OS 3 connection with project and application.
EXEC: Open Edit... from context menu of a resource, e.g. build config.
EXEC: Change e.g. namespace to something different and save editor

RESULT: Error of failed update is shown and text editor is saved.
EXPECTED RESULT: Error of failed update is shown and text editor is still shown as dirty.

  was:
ASSERT: Have an OS 3 connection with project and application.
EXEC: Open Edit... from context menu of a resource, e.g. build config.
EXEC: Change e.g. namespace to something different and save editor

RESULT: Error of failed update is shown and text editor is saved.
EXPECTED RESULT: Error of failed update is shown and text editor is still shown as dirty or rollbacked to lates valid values.



> 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