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

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   When attempting to open the plugin edit page in the ShenYu dashboard, the 
page fails to load. The root cause is an incorrect query where the GET 
/namespacePlugin/id={id}&namespaceId={namespaceId} request uses pluginId = {id} 
for querying. This results in no data being found. Additionally, the plugin_id 
field in the plugin_ns_rel table needs to be changed from a numeric type to 
VARCHAR(128) to avoid type mismatch errors.
   
   ### Expected Behavior
   
   The plugin edit page should load successfully when clicking "Edit," 
retrieving the correct plugin data using the appropriate pluginId.
   
   ### Steps To Reproduce
   
   1. In the ShenYu dashboard, navigate to the Plugin page.
   2. Click the "Edit" button for any existing plugin.
   3. Observe that the page fails to load.
   
   ### Environment
   
   ```markdown
   ShenYu version(s): branch master latest
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   This issue may relate to recent changes in the namespace feature. 
Additionally, the bulk operations such as delete and enable/disable still use 
id as the query condition.


-- 
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: notifications-unsubscr...@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to