You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "wudesheng (via GitHub)" <gi...@apache.org> on 2025/12/30 10:16:38 UTC

[I] Plugin with empty json config is dropped when add or edit Route [apisix-dashboard]

wudesheng opened a new issue, #3269:
URL: https://github.com/apache/apisix-dashboard/issues/3269

   ### Issue description
   
   if you add a plugin with empty config when add or edit route, the plugin is not saved.
   
   ### Expected behavior
   
   key-auth plugin saved
   
   ### How to Reproduce
   
   1. add/edit route
   2. add a key-auth plugin with empty config
   3. save
   4. view route
   5. the key-auth plugin is not saved.
   
   ### Screenshots
   
   _No response_
   
   ### 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_


-- 
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-unsubscribe@apisix.apache.org.apache.org

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


Re: [I] Plugin with empty json config is dropped when add or edit Route [apisix-dashboard]

Posted by "Divyanshu-s13 (via GitHub)" <gi...@apache.org>.
Divyanshu-s13 commented on issue #3269:
URL: https://github.com/apache/apisix-dashboard/issues/3269#issuecomment-4132231672

   @Baoyuantop Hi, I'd like to work on this issue!
   
   I'm Divyanshu Singh, a full-stack developer with strong TypeScript/React experience. I've been contributing to Apache Arrow JS for the past 6 months and I'm also applying for GSoC 2026 on the APISIX Dashboard project (APISIX-39 — JSON Schema to Form UI).
   
   I've already explored the codebase and built a prototype for the SchemaForm system: https://github.com/Divyanshu-s13/apisix-schema-form-prototype
   
   Could you assign this issue to me? I'll have a PR ready shortly.


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] Plugin with empty json config is dropped when add or edit Route [apisix-dashboard]

Posted by "DSingh0304 (via GitHub)" <gi...@apache.org>.
DSingh0304 commented on issue #3269:
URL: https://github.com/apache/apisix-dashboard/issues/3269#issuecomment-3704845377

   Found the issue the fast-clean library removes empty objects by default, so plugins with empty config like key-auth get dropped before saving. Working on a fix.


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] Plugin with empty json config is dropped when add or edit Route [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #3269:
URL: https://github.com/apache/apisix-dashboard/issues/3269#issuecomment-4140557258

   Hi @Divyanshu-s13,thank you for your interest in the project. A pull request for this issue is currently being processed; you may choose another issue that hasn’t been assigned to anyone yet.


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] Plugin with empty json config is dropped when add or edit Route [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #3269: Plugin with empty json config is dropped when add or edit Route
URL: https://github.com/apache/apisix-dashboard/issues/3269


-- 
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-unsubscribe@apisix.apache.org

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