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

Extensions: plugin disable not working correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.7.0
    • 1.7.0
    • Marketplace
    • None
    • RHDH Plugins 3277

      Description of problem:

      When clicking plugin disable button, it doesn't disable plugin packages.

      This is because frontend is calling:

      PATCH /api/extensions/plugin/<namespace>/<name>/configuration/disable which will not work for plugins that do not have entry in the marketplace config, as it only updates plugin packages that are already in the config.

      For newly added plugins to the marketplace config, one would need to call POST /api/extensions/package/<namespace>/<name>/configuration/disable for each its package.

      It was decided it is the simplest to just update all plugin packages disabled when one calls PATCH /api/extensions/plugin/<namespace>/<name>/configuration/disable.

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

      Steps to Reproduce

       # <steps>

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Build Details:

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

              rh-ee-dzemanov Dominika Zemanovicova
              rh-ee-dzemanov Dominika Zemanovicova
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: