SC on layout not being executed

======== TEMPLATE BUG FORM ========

Wappler Version : 3.2.2
Operating System : MacOS Catalina

Expected behavior

What do you think should happen?

Adding a SC file on a layout page should run it.

Actual behavior

What actually happens?


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

Route seems to pick adding a SC file.


Intention was to secure the whole “private site” with some generic checks. But after seeing that nothing is happening I added just a redirect to see what happened. Nothing.


There is no server-connect:app debug log available in the console for this SC.

Is this one confirmed? Or is the route missing something?

Was someone able to confirm this bug?

How and where was the Server Connect action added?

Happy cake day @patrick

I added it through the UI in a layout page. Nothing weird.


I can confirm that it was indeed a bug, here an update. Place the file in lib/setup. (1.5 KB)

1 Like

I confirm it works for my scenario.

Fixed in Wappler 3.3.3