function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

enhancedList "edit" / "create new view" link managed package bug

I have a managed package so all my classes are prefixed with it.

I am using enhancedList for the Lead object.

The "edit" and "create new view" links sends a "retUrl" parameter to the pages, so after saving the new / old lead, the page redirects to the "retUrl" that was sent.

Most of the times this works good, but sometimes the retUrl does not redirect to the real page, and I get an "unknown page" error.

After investigating, I can see that in these times with the error - the retUrl link does not contain the namespace at the beginning of the page.

This is an obvious bug, but it is hard to reproduce as it happens only 5% of the times.

Can anyone help me?

Thanks in advance