Qpid
  1. Qpid
  2. QPID-4666

[Java Broker] Incorrect exception messages returned following 0-10 MessageSubscribe failure

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6, 0.8, 0.10, 0.12, 0.14, 0.16, 0.18, 0.20
    • Fix Version/s: 0.22
    • Component/s: Java Broker
    • Labels:
      None
    • Environment:

      Linux, Java 1.6, Qpid Java Client 0.20, Qpid Java Broker 0.23 (trunk)

      Description

      When AMQP client tries to subscribe to a queue which he is not allowed to assign to due to insufficient ACL rights, he seems to receive a slightly incorrect error message:

      Cannot subscribe to '1': Permission denied

      instead of:

      Cannot subscribe to 'queueName': Permission denied

      1. QPID-4666a.patch
        1 kB
        Jakub Scholz
      2. QPID-4666.patch
        0.7 kB
        Jakub Scholz
      3. client.log
        23 kB
        Jakub Scholz

        Activity

        Jakub Scholz created issue -
        Jakub Scholz made changes -
        Field Original Value New Value
        Attachment client.log [ 12575326 ]
        Jakub Scholz made changes -
        Attachment QPID-4666.patch [ 12575327 ]
        Jakub Scholz made changes -
        Attachment QPID-4666a.patch [ 12575334 ]
        Robbie Gemmell made changes -
        Assignee Robbie Gemmell [ gemmellr ]
        Robbie Gemmell made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.21 [ 12323549 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.22 [ 12324272 ]
        Fix Version/s 0.21 [ 12323549 ]
        Robbie Gemmell made changes -
        Summary Incorrect exception message returned in MessageSubscribe when permission is denied [Java Broker] Incorrect exception messages returned following 0-10 MessageSubscribe failure
        Robbie Gemmell made changes -
        Affects Version/s 0.20 [ 12323548 ]
        Affects Version/s 0.18 [ 12322451 ]
        Affects Version/s 0.16 [ 12319870 ]
        Affects Version/s 0.14 [ 12316855 ]
        Affects Version/s 0.12 [ 12316848 ]
        Affects Version/s 0.10 [ 12316273 ]
        Affects Version/s 0.8 [ 12315477 ]
        Affects Version/s 0.6 [ 12313728 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.23 [ 12324273 ]
        Fix Version/s 0.22 [ 12324272 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Fix Version/s 0.22 [ 12324272 ]
        Fix Version/s 0.23 [ 12324273 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Jakub Scholz
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development