Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21399

Editor should be shown as dirty if saving of modified resource failed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 4.3.0.Final
    • 4.3.1.Beta2
    • openshift
    • None
    • Hide

      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.

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              fbricon@redhat.com Fred Bricon
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: