Cannot read properties of undefined (reading 'toUpperCase')

Wappler Version : 7.23
Operating System : win11
Server Model: Nodejs
Database Type: mariadb
Hosting Type: wappler local

Expected behavior

db query step add table and fields along with sub table. open sub table for further setup like conditions and sort by double clicking added sub-table line.

Actual behavior

double clicking sub table line to open it results in error;
"cannot read properties of undefined (reading 'toUpperCase')"

i am not using toUpperCase anywhere.

How to reproduce

add a server action and add a database query step. on query builder add a table which has a sub table. add fields of first table along with sub table to query builder column. try to open sub table for editing. fails with above said error.

The problem has to do with setting the date fields as type date/datetime.

Setting them to type text may remove the error message, although the main cause is still there.

This is a bug.

Edit: Sorry, my story may not be related to your problem. In my case the error produced this message:

"Cannot read properties of undefined (reading 'toISOString')"

This was reported few days ago, assigned already:

Problem found, it was caused by a change in the latest beta update

It will be fixed in the next beta

1 Like

tried to search before i posted. also did not hit that post when i composed mine.

PS.
can't do without sub table in query. 6 stable is useful to get things done. It is a big disappointment that 6 stable is abandoned with that bothersome UX making already small work area even smaller leaving much space unusable. Things like that do more harm than good.

Fixed in Wappler 7 beta 25

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.