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

`console.action/provider` and `console.action/filter` don't trigger the function call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.16
    • Management Console
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Using this:
      
        {
          "type": "console.action/provider",
          "properties": {
            "model": {
              "group": "broker.amq.io",
              "version": "v1beta1",
              "kind": "ActiveMQArtemis"
            },
            "provider": { "$codeRef": "CustomHooks.useProvideActiveMQArtemisActions" }
          }
        }
      
      I can't get the useProvideActiveMQArtemisActions function to get executed on the details page of an ActiveMQArtemis element.
      
      The issue is the same for the filter.
      
      

      Steps to Reproduce:

      1. checkout https://github.com/lavocatt/activemq-artemis-self-provisioning-plugin/tree/293
      2. deploy on a 4.16 cluster
      3. add the  Red Hat Integration - AMQ Broker for RHEL 8 (Multiarch) operator from the hub
      4. navigate to http://localhost:9000/k8s/all-namespaces/brokers
      5. click on `create Broker`
      6. click on `create`
      7. then navigate to `http://localhost:9000/search/ns/default?kind=broker.amq.io%7Ev1beta1%7EActiveMQArtemis`
      
      Listing the actions of ex-aao gives a list with more than just the delete entry, even though the useProvideActiveMQArtemisActions is supposed to override that.

              vszocs@redhat.com Vojtech Szocs
              tlavocat@redhat.com Thomas Lavocat
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: