Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4813

webconsole - Viewing message details when message ID contains a plus results in " No message could be found for ID {messageID}"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.8.0
    • 5.9.1, 5.10.0
    • Web Console
    • None

    Description

      Steps to reproduce:

      1. Using the admin console, go to the Queues page.
      2. Click on one of the queues to get to the queue's browse page.
      3. Click on a message ID that contains a plus sign .

      Expected:
      See the message's headers, properties, actions, and details.

      Actual:
      Get a page with the error message "No message could be found for ID

      {messageID}", where {messageID}

      contains the message ID clicked on. Note that the message ID displayed in the error message replaces the plus sign with a space.

      Underlying cause:
      The html link that is created for each message ID in the queue's browse page does not properly URL encode the message ID. In my particular example, the link for message ID "AgXkceW74zCq+kZB1llPos1QcmTfOziGAmWRuk1forI=" is:
      http://localhost:8161/admin/message.jsp?id=AgXkceW74zCq+kZB1llPos1QcmTfOziGAmWRuk1forI=&JMSDestination=AMQPTest

      when it should be:
      http://localhost:8161/admin/message.jsp?id=AgXkceW74zCq%2BkZB1llPos1QcmTfOziGAmWRuk1forI=&JMSDestination=AMQPTest

      The trouble area is shown with a red font.

      Attachments

        Activity

          People

            artnaseef Arthur Naseef
            mrbildner Michael Bildner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: