Output filter with exclude on server workflow repeat generates error

Wappler Version : 4.8.1
Operating System : mac
Server Model: node
Database Type: maria
Hosting Type: wappler local

Expected behavior

If Exclude is selected for the output of a server side repeat, it should not error

Actual behavior

  "status": "500",
  "message": "props is not defined",
  "stack": "ReferenceError: props is not defined\n    at App.repeat (/Users/pauka/WapplerProjects/cf/lib/modules/core.js:56:60)\n    at App._exec (/Users/pauka/WapplerProjects/cf/lib/core/app.js:487:57)\n    at App._exec (/Users/pauka/WapplerProjects/cf/lib/core/app.js:458:28)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at async App.exec (/Users/pauka/WapplerProjects/cf/lib/core/app.js:427:9)\n    at async App.define (/Users/pauka/WapplerProjects/cf/lib/core/app.js:417:9)"

How to reproduce

Also happens if zero ouput fields are selected.

Seems there was a typo in the source, here an update.

core.zip (1.9 KB) Upzip to lib/modules.

Thanks, confirmed working.

Fixed in Wappler 4.8.2

This topic was automatically closed after 31 hours. New replies are no longer allowed.