Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3819

stack traces in console output on browse queue due to missing validatedUser value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.22.0
    • 2.28.0
    • Web Console
    • None

    Description

      When browsing the messages of a queue, stack traces are produced in the brower console.

      This happens when an individual message is inspected.
      The error is caused by field validatedUser which (at that time) does not have a value, it is undefined. The JS code crashes on this in the corresponding templateFn function.

      The error is repeated as there are multiple records and the table is refreshed every few seconds.

      The protocol that was used is AMQP.
      I'm quite sure that this did not happen with versions up to 2.20.0.
      I did not have the opportunity to test this with 2.21.0 as I skipped that version.

      ===

      update:
      reproducible by sending a small message using the web-console to address DLQ and browse the messages for the queue below that address.
      a message sent in this way does not have a validated user, nor does it have an original queue, thus triggering two problems conditions.
      a simple PR is added.

      Attachments

        1. image-2022-05-07-23-14-52-440.png
          30 kB
          Erwin Dondorp

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erwindon Erwin Dondorp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m