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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.4.0.Alpha1
    • 4.3.0.Final
    • 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.

      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.

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

              Created:
              Updated:
              Resolved: