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

[release-4.19] Plugin extension is disabled even though defined required flag supposedly evaluates to true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.19.z
    • 4.19
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Critical
    • None
    • None
    • None
    • None
    • In Progress
    • Bug Fix
    • Hide
      Before this update, the `console.flag/model` extension point did not work, preventing flags from being properly set when their associated model was provided. With this release, the `console.flag/model` works as expected and properly sets a flag when the associated model is provided. (link:https://issues.redhat.com/browse/OCPBUGS-59513[OCPBUGS-59513])
      Show
      Before this update, the `console.flag/model` extension point did not work, preventing flags from being properly set when their associated model was provided. With this release, the `console.flag/model` works as expected and properly sets a flag when the associated model is provided. (link: https://issues.redhat.com/browse/OCPBUGS-59513 [ OCPBUGS-59513 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-58858. The following is the description of the original issue:

      Description of problem:

      The dynamic plugin's extensions that have been defined with required flags are disabled even though the flags supposedly evaluate to true.  I could reproduce it with these types:
      
      "console.flag/hookProvider"
      "console.flag/model" 
      
      I have a reduced reproducible test case using the dynamic-demo-plugin. The problem is reproducible when using the model flag, but strangely, the hookProvider works, even though the hookProvider scenario fails in my plugin.
      
      This impacts 4.19, and we need this critical fix in order for us to see our extensions.
      
      
      
      

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

      I will provide the steps.  See https://docs.google.com/document/d/1Kp3HjVc0D7A2dRnLba2FU_vcfTM_ZRd-BWyvNNRKtwA/edit?tab=t.0#heading=h.msvd4v7x70uo
      
          

      Actual results:

          Extensions are disabled when the required flags are evaluated to true

      Expected results:

          Extensions are enabled when the required flags are evaluated to true

      Additional info:

          

              rhn-engineering-rhamilto Robb Hamilton
              kykchong@redhat.com Keith Chong
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: