Database update action still requires local database connection

======== TEMPLATE BUG FORM ========

Wappler Version : 3.5.1
Operating System : 10.15.7

Expected behavior

What do you think should happen?

When selecting the db-update action I should not be presented with a notification about adding a database connection first, it should give me a list of the global defined connections. Also same for insert and delete actions.

Actual behavior

What actually happens?

I get a window asking me to select a connection first.

How to reproduce

  • Detail a step by step guide to reproduce the issue
  • A screenshot or short video indicating the problem
  • A copy of your code would help. Include: JS, HTML.
  • Test your steps on a clean page to see if you still have an issue

In the video you first see the database query action witch is working and then the db update not working.

Thanks for the report, seems we forgot to remove a few more checks :slight_smile:

This will be fixed in the next update

Thank you!
This is a really good feature in Wappler. Thank you, and keep up the amazing work!

1 Like

@George when adding the check for the update, could you add the check for insert as well?

I discovered this issue when doing the Facebook login on a new project today.

Yes all the database update, insert and delete actions as well custom query will have the requirement removed.

1 Like

What is the best workaround for this till Thursday’s update?

  1. Should we turn off experimental features?
  2. Or, do we simply change the 'db1' to the name of our Database Connection name?
  3. Or something else?

I disabled experimental features for now. Did not try with change db1 to db.

Fixed in Wappler 3.5.2

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