Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: The plugin 'redirect' cannot be enabled when editing route #1243

Closed
fukiki opened this issue Jan 8, 2021 · 0 comments · Fixed by #1276
Closed

Bug: The plugin 'redirect' cannot be enabled when editing route #1243

fukiki opened this issue Jan 8, 2021 · 0 comments · Fixed by #1276
Assignees
Labels
bug Something isn't working checking frontend
Milestone

Comments

@fukiki
Copy link

fukiki commented Jan 8, 2021

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

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

System information

  • OS: macOS, centos
  • Browser:Chrome
  • Version: master branch
@fukiki fukiki added the bug Something isn't working label Jan 8, 2021
@juzhiyuan juzhiyuan added this to the 2.4 milestone Jan 8, 2021
@LiteSun LiteSun self-assigned this Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working checking frontend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants