Dynamic success events do not run if a server connect uses Live refresh with sockets

Wappler Version : 6.5.1 stable
Operating System : mac
Server Model: node
Database Type:
Hosting Type:

Expected behavior

If a server connect is reloaded ie. sc.run({}, true) or triggered by a Refresh Server Action, and has Live refresh with sockets enabled, the dynamic success events should run

Actual behavior

They dynamic success events only run on the initial load of the sc.

How to reproduce

Add dmx-on:success and sockets="true" to a server connect and trigger a reload of the sc.

1 Like

I noticed it too. It’s that very thing that was causing my page access checks to always pass cause they weren’t run.

Maybe it’s the same issue:

Can you check the following update

dmxAppConnect.zip (115.8 KB)

I just did a test with one server connect reloading another with both having refresh with socket on. Before I added your update, the success action on the one being reloaded did not fire off, after the update, it did so I think that fixed it.

Confirmed fixed. Thanks Patrick.

1 Like

Fixed in Wappler 6.5.2

This topic was automatically closed after 47 hours. New replies are no longer allowed.