Dynamic Links of PHP SPA site stopped working

Wappler Version : 6.8.0 or 7.0.0 B2
Operating System : MacOS
Server Model: PHP
Database Type: MySQL
Hosting Type: Shared

Expected behavior

What do you think should happen?

Dynamic Attribute Links should work

Note: Project was originally built in 2019. Not sure which update broke it.

Actual behavior

What actually happens?

Dynamic Links do nothing.

<a href="#" class="btn btn-sm btn-outline-warning" dmx-bind:href="'./joborder/'+JOId" internal="true">Details</a>

How to reproduce

Click on any of the details links

Actually it is on almost all projects! Dynamic Links are broken and some of my oldest projects are broken!

Please help!

Could you check what is the exact App Connect version in the header of the dmxAppConnect.js file? And also the dmxRouting.js

APP Connect: 2.0.14
Routing:

/*!
 App Connect Routing
 Version: 3.0.4
 (c) 2024 Wappler.io
 @build 2024-09-23 15:03:19
 */

Problem appears to be in the routing.js file.

I found an old file and restored to it and it works. The file below works.

/*!
 App Connect Routing
 Version: 3.0.2
 (c) 2024 Wappler.io
 @build 2024-06-28 13:36:50
 */

Also, I find interesting is that some projects that seem to not be effected don't have a dmxRouting folder? Where is the routing.js file located?

Have a new update that you can test:
dmxRouting.zip (9.9 KB)

The update fixes some issues with dmx-bind:href for links. Let me know if it fixes your pages.

1 Like

Thank you, yes, this seems to have solved it.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.