Wappler Version : 7.7.6
Operating System : Mac OS Tahoe 26.3.1
Server Model: NodeJS
Database Type: Docker DB MariaDB
Hosting Type: Docker
Expected behavior
What do you think should happen?
Wappler should make the correct DB choice when switching between development and production.
Actual behavior
What actually happens?
When publishing to production the development DB is still active and published.
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
I have only created one DB connection called db.
I then have 2 servers specified, development and production. When I'm developing I'm using the development server. And when I press the publish button and select the production server it seems to still publish with the development servers DB connection.
Agreed .. not sure why we had to wait a full week for another update where this hasn’t been fixed.. very disappointing and also worrying that other parts of the system may be effected by this
I have had this happen to me but i have always thought the cause was different.
I have always suspected that if you open connectipn settings and then change target while they are open then saving saves the settings on screen to the selected target, hence overwriting incorrectly.
I aways close all settings screens before switching target and also refresh the connections panel.
May not be the cause but thought it worth a mention.