Wappler Version :
4.0.0
Operating System :
Windows 10
Server Model:
Database Type:
MySQL/MariaDB
Hosting Type:
Dedicated Windows Server 2012 using PLESK
Expected behavior
What do you think should happen?
I should be able to create a database connection using database manager, test it, then save it
Actual behaviour
I can create a database connection and test it successfully but save button does nothing. Debug text generates is as follows:
TypeError: Cannot read property ‘prefix’ of undefined at generateConnectionString (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/Databases/dmxDatabaseConnection_lib.js:84:26) at file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/databaseManager.js:8:38049 at Object.callback (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/Databases/dmxDatabaseConnection_lib.js:153:9) at Object.dmxDWApiBridge.applyCallback (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:8:9509) at Object.dmxDWApiBridge.pathExists (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:8:45414) at file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxNWApiBridge.js:8:275 at Object.pathExists (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/dmxDWApiBridge/dmxDWApi.js:8:14100) at readDatabaseConfigFile (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/Databases/dmxDatabaseConnection_lib.js:149:10) at HTMLButtonElement. (file:///C:/Users/micro/AppData/Local/Wappler/resources/app/Shared/DMXzone/dmxAppCreator/UI/databaseManager.js:8:37753) at HTMLButtonElement.dispatch (C:\Users\micro\AppData\Local\Wappler\resources\app\node_modules\jquery\dist\jquery.js:5430:27) at HTMLButtonElement. (C:\Users\micro\AppData\Local\Wappler\resources\app\node_modules\jquery\dist\jquery.js:5234:28) at HTMLButtonElement.sentryWrapped (C:\Users\micro\AppData\Local\Wappler\resources\app\node_modules@sentry\electron\node_modules@sentry\browser\dist\helpers.js:74:23)
How to reproduce
Open project -> select database manager -> create database parameters -> test database connection -> click save button
Notes: I have reinstalled Wappler and started a new project but the same error above persists. I have also searched the forum for similar, I found one instance of this but there was no solution to the problem.