Version / build: [e.g. 2025 R2, build number]
UI: Modern UI only. The same action in Classic UI does not show the error.
Description
When Quick Process runs on a sales order and includes the “Update IN” step (Post Invoice to IN), every step completes successfully and the Inventory Document (INI003603 in my case) is created. Immediately afterwards, the Modern UI shows the error toast:
Error: You have insufficient rights to access the object (Cst_INIssueEntry).
The processing log still shows all steps as completed. The error appears in addition to the results, not instead of them.
Steps to reproduce
- Open Sales Orders (SO301000) in the Modern UI as a user without access to Issues (IN302000).
- Run Quick Process with Create Shipment, Confirm Shipment, Update IN, Prepare Invoice, and the print options enabled.
- Observe the success log and the error toast.
Expected: No error. Either the results list renders without a link to a screen the user can’t open, or the user can open it.
Actual: The results are shown, but an error toast about insufficient rights to the Issues graph appears.
Stack trace (Request Profiler, abbreviated)
PX.Data.SiteMapExtensions.SiteMapProviderExtensions.GetSiteMapNode(PXSiteMapProvider, Type graphType)
PX.Data.SiteMapExtensions.SiteMapProviderExtensions.GetScreenUrl(PXSiteMapProvider, Type graphType)
PX.Api.TSBasedScreen.Redirects.PXRedirectRequiredExceptionHandler.Convert(PXRedirectRequiredException, PXGraph)
PX.Api.TSBasedScreen.Redirects.RedirectHandler.ProcessInternal(...)
PX.Api.TSBasedScreen.ControlDataHandlers.QuickProcessingDataHandler.GetLog(List log, Boolean includeRedirectData)
PX.Api.TSBasedScreen.ControlDataHandlers.QuickProcessingDataHandler.ProcessLongRunBeforeGraphClear(...)
PX.Api.TSBasedScreen.Controllers.FormController.UpdateRecords(...)Analysis
The exception is thrown while the Modern UI builds the Quick Process results log. QuickProcessingDataHandler.GetLog converts each created document’s PXRedirectRequiredException into a screen URL via GetScreenUrl(graphType), and GetSiteMapNode fails for the Issues graph (Cst_INIssueEntry, because the graph is extended by a customization). The failure happens even though the document was created and the log is otherwise complete.
Additional observations
- Removing the hyperlink from the step’s success message (by replacing the
<*>placeholder) does not remove the error, so it isn’t caused by the link text. - Admin / user with Issues access does not get the error.
- A similar pattern is reported in the community thread “PXRedirectRequiredException ‘Insufficient Rights’ Error When Opening Custom Screen in Modern UI (Works in Classic UI)” (2025 R1), where a redirect works in Classic UI and fails in Modern UI with the same error.
Request: Please confirm whether this is a known defect and whether a fix or workaround exists. At minimum, the Modern UI should not raise an error after a successful Quick Process because a redirect target can’t be resolved.