Adding a browser goto route generates incorrect value (sometimes)

Wappler Version : 5.3.2
Operating System : mac
Server Model: node
Database Type:
Hosting Type:

Expected behavior

When adding a browser goto using a route, the correct code should be generated

Actual behavior

An invalid value is created

How to reproduce

I believe this is when the route has a leading static value.

For example:

Code generated:

browser1.goto(query.challenge_slug+'/p/'+query.project_id+'/d/'+project_document_id,true,'Project document')

But the code should be:

browser1.goto('/challenge/'+query.challenge_slug+'/p/'+query.project_id+'/d/'+project_document_id,true,'Project document')
Community Page
Last updated: