I have a data entry view with 2 tabs. One tab has 10 fields and the other has 40 fields. I was able to create the view and save it, but when I edit it, I can a delay of a minute or so and then this comes up in the window where I am running the server:
--------------------------------------------------------------------------------------------------------------------------------------------------------
(node:38352) UnhandledPromiseRejectionWarning: TypeError: res.status(...).sendWrap is not a function
at module.exports (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\@saltcorn\server\errors.js:36:8)
(node:38352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
PayloadTooLargeError: request entity too large
at readStream (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\raw-body\index.js:155:17)
at getRawBody (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\raw-body\index.js:108:12)
at read (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\body-parser\lib\read.js:77:3)
at urlencodedParser (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\body-parser\lib\types\urlencoded.js:116:5)
at Layer.handle [as handle_request] (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:317:13)
at C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:275:10)
at jsonParser (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\body-parser\lib\types\json.js:119:7)
at Layer.handle [as handle_request] (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:317:13)
at C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\express\lib\router\index.js:275:10)
at internalNext (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\helmet\dist\index.js:72:24)
(node:38352) UnhandledPromiseRejectionWarning: TypeError: res.status(...).sendWrap is not a function
at module.exports (C:\Users\mangue\AppData\Roaming\npm\node_modules\@saltcorn\cli\node_modules\@saltcorn\server\errors.js:36:8)
(node:38352) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
Thanks for any help.
--
Gene
Thank you Gene, this is fixed and will be in the next release.