Wappler Version : 4.6.4 (App Connect BETA)
Operating System : Mac OS
Server Model: Node Js
Database Type: My Sql
Hosting Type: Docker
Expected behavior
Action should take into account url variables
Actual behavior
Url variables aren’t seen until after a refresh in most cases
How to reproduce
Not entirely sure what’s causing this issue but has only just started occurring in 4.6.4 BETA it looks like the server actions are triggering too fast at times maybe and missing the params. This is when switching between content pages from the same layout page in my case not sure if this goes any further as this is the first time ive seen this issue. Haven’t got url params on other pages to test, switching back to stable resolves the issue.
Was just doing some testing on this It is starting to look like this happens when you use a page flow on auto run to run the server connect on the page. (this part is on the content page as not all pages need to run the server connects)
I know a page flow isn’t needed to auto run the server connect get request but it was solving an issue where when I changed from content page A to B the server connect that was only on page A would run again on leaving the page because the url was changed to page B. This would then cause my api script to throw a 401 thinking I was a unauthorised user but it was just because an empty request was sent from the url params changing. In my case this then was used to on the layout pages browser goto function which caused a redirect on page leave when it shouldn’t run.
Is there maybe a way we can have a on content page on load and on ready feature as from what I gather these options are for layout pages only. Or will flows have a way to wait for params maybe?