Prelude
Most of the bugs I’ve been experiencing with Wappler seem to be related to the Database Manager. In this bug report, I show 3 bugs. I’ve attached a video and give the timestamps of each of the bugs.
OS info
- Operating System : Mac OSX 19.6.0
- Wappler Version : 3.9.9
Problem description 1 (3:36 in video)
Database tables (and schemas if the database type has them) don’t show up. It shows “No schema info available…” The Refresh button does not fix this. I’ve found that restarting Wappler generally fixes this for me, though (see video).
Steps to reproduce 1
- Create blank Wappler project.
- Set database in target (to PostgreSQL or another; doesn’t seem to matter).
- Go to Database Manager and access the tables.
Problem description 2 (4:20 in video; blaze)
"Fetch Data" not there after clicking “View/Edit Data” on a database table. Note: I tried restarting Wappler several times because I believe this usually fixes the bug for me. I also tried refreshing the database folders and re-deploying to see if those fixed it.
Steps to reproduce 2
- Perform the above steps (blank project and add database) and restart Wappler if necessary to get past the above bug.
- Click “View/Edit Data” on a table in the Database Manager
- Observe that “Fetch Data” isn’t there.
Problem description 3 (7:43 in video)
Database tables won’t rename. It seems like Wappler is looking at the newly renamed table as the old table when it looks at the migration file. Note: this problem is really several sub-problems in one:
a) Wappler gave a “Database Changes Applied Successfully” toast at 8:01, but it seems change wasn’t actually applied (see 8:29).
b) Wappler errors when renaming the table (see, e.g., 8:17, 9:03, etc.).
c) Wappler actually did rename the first table (not the second)? See that the “cars” table is actually “cars2” after I refresh at 8:50. But the “cars” rename still shows up in the migration file, so it wasn’t actually applied (as mentioned in bug 3a)?
Steps to reproduce 3
- Perform the above steps (blank project and add database) and restart Wappler if necessary to get past the first bug.
- Rename a database table.
- Apply the database changes.
- Maybe go back to step 2 and repeat once more (like in the video).
report_2021-6-12_16-37-5.zip (92.0 KB)
db_rename_table_bug