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

Refresh causes an exception to delete the plugin #2592

Closed
Morakes opened this issue Aug 16, 2022 · 1 comment · Fixed by #2593
Closed

Refresh causes an exception to delete the plugin #2592

Morakes opened this issue Aug 16, 2022 · 1 comment · Fixed by #2593
Labels
bug Something isn't working

Comments

@Morakes
Copy link
Contributor

Morakes commented Aug 16, 2022

Issue description

When you are in the global plugins list, if you have multiple enabled plugins, try refreshing the page and then deleting one of them, this will cause all of them to be deleted. In addition to this, it also happens when you go from the plugins list to the global plugins list and delete a plugin.

Expected behavior

deleting only the plugins I want to delete

How to Reproduce

aaa19c94621c87c148010530992bece
fbbd43df365a81092b3ccc483ec62cc

or

bc3db2f24e28a057056b28ce232c7c2

Screenshots

As shown above.

Environment

  • apisix version (cmd: apisix version):
  • OS (cmd: uname -a):
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version):
  • apisix-dashboard version, if have:
  • Browser version, if have:

Additional context

No response

@Morakes Morakes added the bug Something isn't working label Aug 16, 2022
@Morakes
Copy link
Contributor Author

Morakes commented Aug 16, 2022

I suspect that after the 'initialData' has changed, the 'plugins' are not receiving its value.
/src/components/Plugin/PluginPage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant