A simple logout procedure that I've had working for years suddenly throws an error when I try to run the logout server connect.
I have a server connect like this:
<dmx-serverconnect id="logoutUser" url="/api/users/logout" noload="true" dmx-on:success="browserGlobal.reload()"></dmx-serverconnect>
I just have the security logout action in the server connect file.
You can see it's set to the correct security provider:
I am currently logged in and then I click the sign out link that runs the server connect and get the following error and I can't be logged out.
{
"status": "500",
"message": "Cannot read properties of null (reading '__dmxScope__')",
"stack": "TypeError: Cannot read properties of null (reading '__dmxScope__')\n at /opt/node_app/lib/core/parser.js:685:19\n at /opt/node_app/lib/core/parser.js:697:21\n at /opt/node_app/lib/core/parser.js:662:32\n at || (/opt/node_app/lib/core/parser.js:66:39)\n at /opt/node_app/lib/core/parser.js:424:42\n at || (/opt/node_app/lib/core/parser.js:66:39)\n at /opt/node_app/lib/core/parser.js:424:42\n at || (/opt/node_app/lib/core/parser.js:66:39)\n at /opt/node_app/lib/core/parser.js:424:42\n at parser (/opt/node_app/lib/core/parser.js:359:19)"
}
I thought maybe it was a chrome issue so I tried safari but same error occurs.
I'm on Wappler 7.0.0 Beta 17. I just updated my docker desktop to the latest as well.
Any help from the team would be greatly appreciated.
-Twitch