Wappler Version : 4.9.1
Operating System : macOS Monterey 12.4
Server Model: nodejs
Database Type: postgres
Hosting Type: Wappler Local Server
Expected behavior
What do you think should happen?
When I add a database connection I should be able to use it
Actual behavior
What actually happens?
When I add a database connection and test the connection, everything is OK.
However, when I try to use the connection in a database query it says “No Valid Database Connection found! Please define it first in the Database Manager for this target”
When you look at the connection in the Database Manager there is an alert icon which says: “Cannot set property ‘users’ of undefined”
There is only one table in the database and that happens to be the one it’s complaining about “users”.
How to reproduce
Add a new database connection
Test the connection - OK
Go to Database Manager and observe the warning message