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

插件配置界面不兼容旧的配置数据 #2769

Closed
wukaixian opened this issue Mar 13, 2023 · 1 comment
Closed

插件配置界面不兼容旧的配置数据 #2769

wukaixian opened this issue Mar 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wukaixian
Copy link

Issue description

从2.5.1版本升级到3.1后,旧的路由插件配置缺少 {“_meta":"disable":false} 配置数据,导致在新版本dashboard界面插件界面无法正常显示。

Expected behavior

新版本兼容老数据,缺少 {“_meta":"disable":false} 配置时,可以正常显示插件配置界面。

How to Reproduce

1.路由界面配置一个插件的json数据,如 limit-count,不加 _meta 字段
2.点击路由配置,点击下一步,到达插件配置界面
3.插件界面报错,界面显示为空,异常信息提示没有disable字段

Screenshots

image

Environment

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

Additional context

No response

@wukaixian wukaixian added the bug Something isn't working label Mar 13, 2023
@Baoyuantop
Copy link
Contributor

Fixed by #2739, you can use the code of the master branch or wait for the next release.

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

No branches or pull requests

2 participants