Dmx-bind Stopped Working After Update

Wappler Version : 6.8.0
Operating System : Win 11
Server Model: NodeJS
Database Type: MariaDB
Hosting Type: Win Server

After the last Wappler AC updates I see now that a lot of links in my website no longer work, when clicked instead of redirecting to a selected page, they now point directly to the home page of the website.

Expected behavior

What do you think should happen?

Previously working hyperlink should work as usual:
<a href="" dmx-bind:href="'/news/'+ArticleSubject.slugify()+'/'+ArticleID+'/'+CompanyID">{{ArticleSubject.substr(0, 38)}} ...</a>

Actual behavior

What actually happens?

link now only works with href="" removed, like this:
<a dmx-bind:href="'/news/'+ArticleSubject.slugify()+'/'+ArticleID+'/'+CompanyID">{{ArticleSubject.substr(0, 38)}} ...</a>

How to reproduce

See above

Yes I had the same issue. Patrick is already working on it. The bind isn’t overriding the regular tags as it should.

1 Like

Thanks for that update - I've had to manually change a lot of links on a large site to fix this, otherwise none of the links were working. It was causing a lot of issues to my users. Hopefully those links will still work after the issue is resolved, otherwise I'll have to go back and fix them all back again.

Yea same. Luckily the site I needed to change didn't have that many of these links.

1 Like

Fixed in Wappler 7 beta 2.

Will this be fixed also in Wappler 6.8.0 ..?

Well try the latest inline extension updates and check.

My links are still not working, I've had to manually change them out - I've done about a hundred of them so far and I'm still getting complaints from my users.

6.8.0 should be a stable release, its not good to introduce breaking changes from V7 development.

This bug is not fixed in 6.8.0

I just did a force update of all Wappler updates, restarted NodeJs on the server and the problem still persists. Can we please have this fixed? I have other sites that need worked on, I don't want to have this problem repeated in them.

Can you test the following update: dmxRouting.zip (9.9 KB)

I just tested this and unfortunately that doesn't work.

What exactly goes wrong, if you check in devtools are there any errors? Checking the element in devtools was the href replaced with the dynamic link?

Works in my tests. Please make sure you clear the browser cache when uploading the new file, as probably you have the old version cached.

Its not a caching issue, any links containing 'a href=""' get redirected back to the site home page.

Do you have a link where we can check this?
My local tests with the latest file from Patrick work fine.

I did a full publish and a forced upload of all new AC changes, rebooted the NodeJS server (in PLESK) and the links were still not resolving - however, a full hard server reboot fixed this issue.

It looks like your patch worked:

 App Connect Routing
 Version: 3.0.5
 (c) 2024 Wappler.io
 @build 2024-09-27 12:08:06

Test link here if required:
https://r16.uk/f69e08