Breadcrumb value not updating with URL parameter

​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:

  1. open the app
  2. navigate to the page called “Sub Page”
  3. note the "id" parameter in the url
  4. note the third breadcrumb value shown
    1. it is configured to show the "id" url parameter
  5. type a new "id" value into the text field
  6. click the button to submit
  7. note the "id" value in the url
  8. note the third breadcrumb value shown
    1. expected: new "id" value from step 4 is shown
    2. actual: old "id" value from 2 is shown
  9. refresh the page
  10. a query will run on load that sets the id in the application from the url parameter
  11. note the "id" value in the url
  12. note the third breadcrumb value shown
    1. url "id" value and breadcrumb are the same
  13. type a new "id" value into the text field
  14. click the button to submit
  15. note the "id" value in the url
  16. note the third breadcrumb value shown
    1. expected: new "id" value from step 11 is shown
    2. 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