Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2126

[Extensions] handle installation disabled scenario in the installed packages page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.8.0
    • UI
    • None
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      When installation is disabled, the actions on the Installed Packages page are still shown. Similarly, if the YAML file is misconfigured, the actions appear, but the API call fails with an error. This doesn't break the UI, the API failure is handled gracefully, and the correct reason for the failure is displayed in the UI.
      Show
      When installation is disabled, the actions on the Installed Packages page are still shown. Similarly, if the YAML file is misconfigured, the actions appear, but the API call fails with an error. This doesn't break the UI, the API failure is handled gracefully, and the correct reason for the failure is displayed in the UI.
    • Known Issue
    • Done
    • RHDH F&UI plugins 3282

      Description of problem:

      When installation is disabled, the actions on the Installed Packages page are still shown. Similarly, if the YAML file is misconfigured, the actions appear, but the API call fails with an error. This doesn't break the UI, the API failure is handled gracefully, and the correct reason for the failure is displayed in the UI.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      update your extensions config to:

      ```
      extensions:
        installation:
           enabled: false
           saveToSingleFile:
              file: ....
      ```
      Go to Extensions -> Installed packages -> Edit a package

      Actual results:

      The UI shows an error saying that the installation is disabled.

      Expected results:

      Users should be informed beforehand when the installation is disabled.

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

              dsantra12 Debsmita Santra
              dsantra12 Debsmita Santra
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: