Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-613

Address can't be deleted via management console

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • A-MQ 7.0.0.CR1
    • A-MQ 7.0.0.ER17, A-MQ 7.0.0.ER18
    • None
    • Interactive Demo/Tutorial, User Experience
    • Hide

      Hawtio login -> in menu click to Artemis -> amq -> Execute -> deleteAddress(java.lang.String) -> Name: "address to delete" -> Execute

      Show
      Hawtio login -> in menu click to Artemis -> amq -> Execute -> deleteAddress(java.lang.String) -> Name: "address to delete" -> Execute
    • Hide
      1. Start broker
      2. Access management console (by default running on port 8161 - address:8161/hawtio)
      3. Click on 'Artemis" - first leftmost button on the page
      4. click on addresses (shown on the left menu panel)
      5. create address via provided form (by default anycast), name it test
      6. try delete it - (if no delete button is visible, click on the small arrow on the right side under account_name)
      Show
      Start broker Access management console (by default running on port 8161 - address:8161/hawtio ) Click on 'Artemis" - first leftmost button on the page click on addresses (shown on the left menu panel) create address via provided form (by default anycast ), name it test try delete it - (if no delete button is visible, click on the small arrow on the right side under account_name )

    Description

      Address created via hawtio is not deleted after "delete address" button is pressed.

      Log after such attempt:

      [ARTEMIS] workspace tree has changed, lets reload the artemis tree
      [ARTEMIS] tree=[object Object]
      [ARTEMIS] folder=[object Object]
      [Core] Executing task: ConParam with parameters: [object Object],http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/artemis/deleteAddress?tab=artemis&nid=root-org.apache.activemq.artemis-%220.0.0.0%22-addresses-%22test%22,http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/jmx/attributes?tab=artemis&nid=root-org.apache.activemq.artemis-%220.0.0.0%22-addresses-%22test%22 (failed to convert)
      [Core] Executing task: UpdateSession with parameters: [object Object],http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/artemis/deleteAddress?tab=artemis&nid=root-org.apache.activemq.artemis-%220.0.0.0%22-addresses-%22test%22,http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/jmx/attributes?tab=artemis&nid=root-org.apache.activemq.artemis-%220.0.0.0%22-addresses-%22test%22 (failed to convert)
      [Core] Updating session expiry
      [Core] Made request
      [Core] Using view partial: ../artemis-plugin/plugin/html/artemisLayout.html
      [Core] from local storage, setting routingType to 1
      [Core] Updated session, response: ok
      [ARTEMIS] broker=org.apache.activemq.artemis:broker="0.0.0.0"
      [ARTEMIS] org.apache.activemq.artemis:broker="0.0.0.0"
      Error: name is undefined
      Stack trace:
      
      Error: name is undefined
      
      ARTEMIS.AddressController/$scope.deleteAddress@http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/app/app.js?1d536d5e2035edf8 line 1 > eval:72:21
      
      G/<@http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/app/app.js?1d536d5e2035edf8:14:7399
      
      n/
      
      ib/this.$get
      
      b/this.controller
      
      G/<@http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/app/app.js?1d536d5e2035edf8:14:7399
      
      qd[b]
      
      ib/this.$get
      
      ib/this.$get
      
      qd[b]
      
      $.event.dispatch@http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/app/app.js?1d536d5e2035edf8:2:18677
      
      $.event.add/h@http://<IMAGINE_HOSTNAME_HERE>:8161/hawtio/app/app.js?1d536d5e2035edf8:2:14641
      
      

      Attachments

        Issue Links

          Activity

            People

              rh-ee-ataylor Andy Taylor
              mlesko1 Matej Lesko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: