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

[Hawtio] MBean context isn't switched properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • False
    • False
    • Undefined

      Checked in 7.8.1 CR2 build:

      Test Case Description

      Hawtio works fine with different symbols in broker name

      Test Data

      A queue

      Precondition

      1. Edit broker.xml and change the broker name to   
        <name>hello-there!@#$%^*)(_+1>\/'"-addresses-ExpiryQueue</name>
      1. Run a standalone broker instance.

      Test Steps

      1. Browse different pages in hawtio

      Expected result:

      Hawtio renders pages without errors
      Actual result: 
      FAILED 

      Some pages show the error:

      Pages: Connections, Sessions, Consumers, Producers, Addresses, Queues, 

       

      could not invoke list sessionsjavax.management.InstanceNotFoundException : org.apache.activemq.artemis:broker="hello-there!@#$%^\*)(_+1>\\/'\"-addresses-ExpiryQueue"
      
      Uncaught TypeError: Cannot read property 'selectParentNode' of undefined
      
      TypeError: Cannot read property 'NodeID' of undefined
      

      BrokerDiagram doesn't work:    

       

              rh-ee-ataylor Andy Taylor
              osushche@redhat.com Oleg Sushchenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: