Aias00 opened a new issue, #6614:
URL: https://github.com/apache/shenyu/issues/6614

   - severity: High
   - files: 
`shenyu-admin/src/main/resources/mappers/namespace-plugin-rel-sqlmap.xml:29`
   - description: `BaseResultMap` line 29 is `<result column="enable" 
jdbcType="BOOLEAN" property="sort"/>`. Two errors: (a) the real column is 
`enabled` (per `Base_Column_List:38` and `schema.sql:1428`), not `enable`; (b) 
it maps to property `sort` instead of `enabled`. The `enabled` property of 
`NamespacePluginRelDO` has no mapping at all. `listByNamespaceId` (line 381, 
`resultMap="BaseResultMap"`) is the consumer.
   - impact: Callers of `namespacePluginRelMapper.listByNamespaceId` observe 
null `enabled` and corrupted `sort`; downstream plugin-enable-state logic is 
silently wrong.
   - suggested_fix: Replace line 29 with `<result column="enabled" 
jdbcType="TINYINT" property="enabled"/>`.
   - confidence: High
   - related_existing: none. Pure mapper/XML defect not in baseline.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.md)._


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