Cannot read properties of undefined (reading 'sub') thrown in Database Paged Query

Wappler Version: 5.4.0
Operating System: Windows 11
Server Model: node.js
Database Type: Postgres
Hosting Type: local docker

Expected behavior

Records with subtable data should be returned by Server Connect

Actual behavior

Server 500 error with “Cannot read properties of undefined (reading ‘sub’)”

How to reproduce

Set up a Database Paged Query with a subtable and try to list records on a page.

NOTE: Using a Single Record or Multiple Records query type works fine.

Have an update that you can try:

dbconnector.zip (3.5 KB) unzip to lib/modules.

If you still get an error can you then also mention the line number when it is given in the error.

Hi @patrick, that resolves the error.

Mac OS
Wapper v5.4.2
NodeJS
MySql

Hey @patrick!
Got a quick fix for this - "Cannot read properties of undefined (reading ‘toISOString’) "?
Posted it on here cause I figured they’re similar.

Thanks.

Fixed in Wappler 5.4.2

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