Skip to content

[Bug] Fix incorrect decode method for UnlockBatchRequestBody in DefaultAuthorizationContextBuilder #9767

@majialoong

Description

@majialoong

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

All platform

RocketMQ version

develop and 5.3.3 (the branch using ACL 2.0)

JDK Version

All

Describe the Bug

In DefaultAuthorizationContextBuilder, the UNLOCK_BATCH_MQ request incorrectly used the LockBatchRequestBody for decode. It should use the UnlockBatchRequestBody for decode.

Image

Steps to Reproduce

In DefaultAuthorizationContextBuilder, the UNLOCK_BATCH_MQ request incorrectly used the LockBatchRequestBody for decode.

What Did You Expect to See?

It should use the UnlockBatchRequestBody for decode.

What Did You See Instead?

It use the LockBatchRequestBody for decode.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions