Qinglong-Lee opened a new pull request, #7712:
URL: https://github.com/apache/rocketmq/pull/7712

   <!-- Please make sure the target branch is right. In most case, the target 
branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and 
[link this pull request to that issue using 
keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>)
 to ensure automatic closure. -->
   
   Fixes #7710
   
   ### Brief Description
   
   <!-- Write a brief description for your pull request to help the maintainer 
understand the reasons behind your changes. -->
   
   The PR is for a bug the ACL, which caused the problem of deleting the last 
item of the topic/group perms or the global white list.
   The bug is due to the flaw of UtilAll#split func which didn't handle the 
blank string case properly.
   So I've fixed it.
   ### How Did You Test This Change?
   
   <!-- In order to ensure the code quality of Apache RocketMQ, we expect every 
pull request to have undergone thorough testing. -->
   
   This change have been tested by unit test and the bug have been tested on 
local.
   I've also searched the usages of the changed method globally.
   I'm sure the bug has been fixed and has no influence on any other functions 
of the project.
   
   
![图片](https://github.com/apache/rocketmq/assets/29912051/814c9fbd-2979-4c50-bb42-d4330ca14fe8)
   
![图片](https://github.com/apache/rocketmq/assets/29912051/1ab76136-ee7b-4093-8bba-7c021fa11763)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to