Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-4960

Topology sidebar actions doesn't show the latest resource data

XMLWordPrintable

    • Important
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: The topology sidebar doesn't watch resources for changes and the information when the sidebar has opened. Actions, modals, displayed labels, and annotations use not up-to-date information.

      Consequence: The out-dated information could confuse users esp. when they update the resource directly from the sidebar and the shown information doesn't reflect the change. The user needs to close and reopen the topology sidebar to see the latest data.

      Fix: Watch for resource updates as the topology and other list and detail pages do.

      Result: The user sees the latest changes directly in the sidebar. Changing content from modals or triggering actions works based on the latest data and isn't confusing anymore.
      Show
      Cause: The topology sidebar doesn't watch resources for changes and the information when the sidebar has opened. Actions, modals, displayed labels, and annotations use not up-to-date information. Consequence: The out-dated information could confuse users esp. when they update the resource directly from the sidebar and the shown information doesn't reflect the change. The user needs to close and reopen the topology sidebar to see the latest data. Fix: Watch for resource updates as the topology and other list and detail pages do. Result: The user sees the latest changes directly in the sidebar. Changing content from modals or triggering actions works based on the latest data and isn't confusing anymore.
    • Bug Fix

      Description of problem:
      This is a follow up on OCPBUGSM-47202 (https://bugzilla.redhat.com/show_bug.cgi?id=2110570)

      While OCPBUGSM-47202 fixes the issue specific for Set Pod Count, many other actions aren't fixed. When the user updates a Deployment with one of this options, and selects the action again, the old values are still shown.

      Version-Release number of selected component (if applicable)
      4.8-4.12 as well as master with the changes of OCPBUGSM-47202

      How reproducible:
      Always

      Steps to Reproduce:

      1. Import a deployment
      2. Select the deployment to open the topology sidebar
      3. Click on actions and one of the 4 options to update the deployment with a modal
        1. Edit labels
        2. Edit annotatations
        3. Edit update strategy
        4. Edit resource limits
      4. Click on the action again and check if the data in the modal reflects the changes from step 3

      Actual results:
      Old data (labels, annotations, etc.) was shown.

      Expected results:
      Latest data should be shown

      Additional info:

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Sanket Pathak Sanket Pathak
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: