Wappler Version : 6.8.0 - with updated extensions released yesterday 20 Sep 24
Operating System : MacOS 15.0
Server Model: NodeJS
Database Type: PostgrSQL
Hosting Type: Docker local
Expected behavior
Clicking on a button to direct to another page, should not dispaly an error in the Console.
Actual behavior
Clicking on a button to direct to another page using the dmx-on:click="browser1.goto('/dashboard' ,true)
Gives this error in the browser console. Although I get directed to the correct page.
4link.js:117 Uncaught TypeError: Cannot read properties of null (reading 'startsWith')
at s._stateHandler (link.js:117:1)
at History.pushState (appConnect.js:11:1)
at s.goto (browser.js:90:1)
at Object.keys.forEach.data. (BaseComponent.js:470:1)
at parser.js:727:1
at parser.js:469:1
at dmx.parse (parser.js:404:1)
at HTMLButtonElement. (on.js:14:1)
at HTMLButtonElement.a (events.js:280:1)
at HTMLButtonElement.dispatch (jquery-3.5.1.slim.min.js:2:42868)
_stateHandler @ link.js:117
(anonymous) @ appConnect.js:11
goto @ browser.js:90
Object.keys.forEach.data. @ BaseComponent.js:470
(anonymous) @ parser.js:727
(anonymous) @ parser.js:469
dmx.parse @ parser.js:404
(anonymous) @ on.js:14
a @ events.js:280
dispatch @ jquery-3.5.1.slim.min.js:2
v.handle @ jquery-3.5.1.slim.min.js:2Understand this error
4link.js:117 Uncaught TypeError: Cannot read properties of null (reading 'startsWith')
at s._stateHandler (link.js:117:1)
at s.goto (browser.js:92:1)
at Object.keys.forEach.data. (BaseComponent.js:470:1)
at parser.js:727:1
at parser.js:469:1
at dmx.parse (parser.js:404:1)
at HTMLButtonElement. (on.js:14:1)
at HTMLButtonElement.a (events.js:280:1)
at HTMLButtonElement.dispatch (jquery-3.5.1.slim.min.js:2:42868)
at v.handle (jquery-3.5.1.slim.min.js:2:40852)
How to reproduce
Create a button on dynamic event on click - browser - provide a url to another page.
Save the page.
Click on the button and see the error on the browser console.
Please note, I noticed this error following the extensions update released yesterday.