dengliming opened a new issue, #618:
URL: https://github.com/apache/shenyu-dashboard/issues/618

   ## Description
   When a tool is saved from the JSON editor, the payload is built with fixed 
`sort: 1, loged: true, matchMode: "0", matchRestful: false` regardless of the 
values the tool already has.
   
   ## Location
   (Lines refer to `master @ 83969a5`.)
   - `src/routes/Plugin/McpServer/ToolsModal.js:556-572`
   
   ## Impact
   Editing an existing tool in JSON mode (e.g. with `sort: 50` or a different 
match mode) and saving silently resets those rule-level fields.
   
   ## Suggested fix
   Merge the existing tool/rule's values (`sort`, `loged`, `matchMode`, 
`matchRestful`, `ruleConditions`) into the payload and only use defaults when 
creating a new tool.
   
   ## Related existing
   None
   


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