zhang-arvin opened a new pull request, #6999:
URL: https://github.com/apache/shenyu/pull/6999

   Fixes #6829
   
   ### Problem
   `alert-receiver-sqlmap.xml` `Base_Column_List` lists every column **except** 
`namespace_id`. `selectAll` uses this list, so every returned 
`AlertReceiverDTO.namespaceId` is null. 
`AlertDispatchServiceImpl.matchReceiverByRules` then runs `if 
(StringUtils.isNotBlank(item.getNamespaceId())) { ... namespaceIdMatch ... }` — 
the guard is always false, so namespace-scoping never executes. Receivers 
intended to be namespace-scoped silently become global.
   
   ### Fix
   Add `namespace_id` to `Base_Column_List` (after `levels`, before 
`date_created`).


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