I'm running into an issue in my app with the breadcrumb component. Here is an app that demos this issue.
Untitled (2) (1).json (20.6 KB)
Steps to repro:
- open the app
- navigate to the page called “Sub Page”
- note the "id" parameter in the url
- note the third breadcrumb value shown
- it is configured to show the "id" url parameter
- type a new "id" value into the text field
- click the button to submit
- note the "id" value in the url
- note the third breadcrumb value shown
- expected: new "id" value from step 4 is shown
- actual: old "id" value from 2 is shown
- refresh the page
- a query will run on load that sets the id in the application from the url parameter
- note the "id" value in the url
- note the third breadcrumb value shown
- url "id" value and breadcrumb are the same
- type a new "id" value into the text field
- click the button to submit
- note the "id" value in the url
- note the third breadcrumb value shown
- expected: new "id" value from step 11 is shown
- actual: old "id" value from 9 is shown
EDIT: fixed some typos in my original steps to reproduce and added a new file that has a side nav (for going to the page called “Sub Page” and some ui components to assist with debugging
Hi @retoolbuilder123, great to have you back on the community forum!
Appreciate you taking the time to create a test demo! Unfortunately I’m unable to follow your repro steps, as I’m only seeing the breadcrumbs1 component when I import the demo app. You mentioned a query in the repro steps? Since I’m not part of your Retool org, I won’t have the appropriate resources configured when I import your app. We could try Exporting JSON with hard-coded query results, or alternatively/in addition, it may help to identify what’s happening if you could provide a video of what you’re seeing. Hope to hear back soon!
Best,
Altai || Retool Support
Hey @Altai_Chiang thanks for the reply
I made some edits to my post to clarify the steps to repro and updated the original app I posted to have some UI components to help debug
@Altai_Chiang also attaching a screen recording of what i see on my end
Thanks for clarifying the repro steps and the video! This seems related to a known issue where calls to utils.setUrlParameters was not correctly updating the url object. The fix for this has been merged as of Cloud Version: 3.360.0 and Stable On-Prem Version: 3.300.19. If you’re behind this version, could you first try upgrading to see if the issue persists? If it does, we may be looking at something else and we could debug further. Either way, please let me know!
Best,
Altai || Retool Support