mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
There is an issue with the JSON processing plugin #633
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @suxuanning on GitHub (Sep 9, 2025).
Self Checks
Dify version
1.18.0
Plugin version
0.0.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The result should be empty, not the string 'None'
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Sep 9, 2025):
The root cause is in the plugin's code: when the extraction result is None, it gets converted to the string
'None'instead of an empty value. This happens in the_extractmethod ofJSONParseToolintools/json_process/tools/parse.py, wherestr(result)is returned even ifresultis None. To fix this, update the code so that ifresult is None, it returns an empty string ("") or another appropriate empty value instead ofstr(result)—for example:This will prevent the plugin from returning
'None'as a string when the result is empty. You can see the relevant code and logic here.To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
