chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

ReplyError: ERR wrong number of arguments for 'hmset' command #59

Open pmattia90 opened 1 year ago

pmattia90 commented 1 year ago

When use the redis-command node, parser.js throw an error when using UPPERCASE letters. If i export and reimport the node, changing the UPPERCASE command into lowercase, everything works as usual.

This is the error coming from the debug window of Node-Red ReplyError: ERR wrong number of arguments for 'hmset' command at parseError (/home/test/.node-red/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/home/test/.node-red/node_modules/redis-parser/lib/parser.js:302:14)

This happens also with other command, but not every command. It can be reproduced using the demo flow for demonstration and choosing the hmset command node, reselecting the command that has to be done.