Custom middleware(routing) to discriminate URL parameters

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

Wappler Version : 3.2.1
Operating System : Mac
Project: NodeJS, MySql, Docker.

Expected behavior

What do you think should happen?

When a user visits the URL - they should be shown the correct page.

Actual behavior

What actually happens?

An incorrect page is shown, even when the route is setup correctly.

URL Path:

Routing Panel:
Screen Shot 2020-09-01 at 8.34.55 am

route meta on the page in Wappler:

Rendered path in the source code of the incorrect page:

The only way I have found to be able to fix this, is to copy the information in the route in ‘Routes’ and then recreate the same again.

But then other pages incorrectly display.

I have about 90 pages that are dynamic and use the route path (url parameters) to generate all page data, so this is pretty important.

No errors are displayed so I don’t know how to debug this myself @patrick.

Community Page
Last updated: