sosyz opened a new pull request, #1246:
URL: https://github.com/apache/answer/pull/1246

   This PR reverts commit 5f468c6f054ac096cb1fc31fa5acfbdb8b730c75 to address 
the issue reported in #1245.
   
   Issue:
   After the optimization of HasNewTag function in TagCommonService, there is 
an inconsistency in return values between the old and new logic. When users 
edit an existing question and add a new tag, the function incorrectly returns 
false instead of the expected true value.
   
   Steps to reproduce:
   1. Open an existing question and edit it
   2. Add a new tag that does not exist
   3. Submit the changes
   4. The function returns false (incorrect) instead of true (expected)
   
   Impact:
   - Affects version 1.42
   - Permission validation can be bypassed to create new tags when operating 
questions via API


-- 
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