Ref field passed Name instead of ID in url redirect (since Banzai)

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
We upgraded our prod instance to Banzai yesterday.  Since then we had an old piece of logic break (I've fixed it, so no emergency.)

We have an integration with Big Machines (Oracle) CPQ.  Quote records are related back to the Opportunity using a reference lookup field.

When a quote is cloned, it uses a url re-direct and passes over the original quote ID and the parent Opp ID.

Our url looks like this:
/apex/BigMachines__QuoteEdit?id={{Id}}&oppId={{BigMachines__Opportunity__c}}&clone=true 

where the BigMachines_Opportunity__c is a ref field back to the parent Opp.  After Banzai, the Opp Name was being passed in the url instead of the ID.  We did have the ID selected in the model.  We've been using this url re-direct since January without issue until now.

I changed it to:
/apex/BigMachines__QuoteEdit?id={{Id}}&oppId={{BigMachines__Opportunity__r.Id}}&clone=true 

And it is back to working.  I just wanted to bring your attention to this - not sure if this is expected behavior.  We're also trying to think where else we may have done this in our Org so we can fix those places as well.
Photo of Chandra V

Chandra V, Champion

  • 6,966 Points 5k badge 2x thumb

Posted 3 years ago

  • 1
Photo of J.

J., Official Rep

  • 7,470 Points 5k badge 2x thumb
Official Response
Chandra,

This is fixed as of Banzai Update 3 (7.17+) which should be available for install very soon. Thanks for helping us chase down issues like this one!