$value cannot be used in Node

Wappler Version : 3.3.6
Operating System : Node

Expected behavior

This works in PHP–using a Set Value action to store $value

Actual behavior

In Node however, I receive the following error with identical code:


  "status": "500",
  "message": "Converting circular structure to JSON\n    --> starting at object with constructor 'RowDataPacket'\n    --- property 'value' closes the circle",
  "stack": "TypeError: Converting circular structure to JSON\n    --> starting at object with constructor 'RowDataPacket'\n    --- property 'value' closes the circle\n    at JSON.stringify (<anonymous>)\n    at stringify (/opt/node_app/node_modules/express/lib/response.js:1123:12)\n    at ServerResponse.json (/opt/node_app/node_modules/express/lib/response.js:260:14)\n    at App.exec (/opt/node_app/lib/core/app.js:218:22)\n    at processTicksAndRejections (internal/process/task_queues.js:97:5)\n    at async App.define (/opt/node_app/lib/core/app.js:188:9)"
}

This is fixed in Wappler 3.4.0

This topic was automatically closed after 3 days. New replies are no longer allowed.