fukiki opened a new issue #1243:
URL: https://github.com/apache/apisix-dashboard/issues/1243


   # Bug report
   
   ## Describe the bug
   
   The plugin 'redirect' cannot be enabled in step 3 'Plugin Config' when 
editing route.
   
   ## How to Reproduce
   
   1. Go to 'Route'
   2. Select one route, click on 'Edit', go to step 3 'Plugin Config'
   3. Select plugin 'redirect', enable plugin and add config.
   
![apisix-bug3](https://user-images.githubusercontent.com/59835099/103985386-ca556a00-51c3-11eb-929f-ca31cc1d8811.png)
   4. Submit and update route successfully.
   5. Click on 'Edit' to check the route plugins, and plugin 'redirect' is 
disabled.
   Actually, there is no plugin 'redirect' params when sending the request.
   
![apisix-bug4](https://user-images.githubusercontent.com/59835099/103985422-dfca9400-51c3-11eb-8b4f-98a16d1fb88e.png)
   
   ## Expected behavior
   
   The plugin 'redirect' can be enabled in step 3 'Plugin Config' when editing 
route.
   
   There are two ways to fix this issue:
   1. The plugin 'redirect' param should be add in step 3 'Plugin Config' when 
editing route.
   2. When editing the route, plugin 'redirect' can not be displayed in step 3. 
   
   Actually, the plugin 'redirect' could been configured in step 1 when edit 
route, and I prefer the way 2.
   
![apisix-bug5](https://user-images.githubusercontent.com/59835099/103985531-11dbf600-51c4-11eb-8cdb-706eb436f444.png)
   
   ## System information
   
   - OS: macOS, centos
   - Browser:Chrome
   - Version: master branch


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to