Support Article

Form error is not displayed on opening work object

SA-42099

Summary



Issue 1:
On opening a work object with errors on it, form level error doesnot appear for ‘case manager portal’ but appears fine for ‘case worker portal’, for the same operator when they have ‘pxUIInspector’ privilege.

Issue 2:
On opening a work object with errors on it, form level error doesnot appear for both ‘case manager portal’ and ‘case worker portal’, for the same operator when they don’t have ‘pxUIInspector’ privilege.

Error Messages



Not applicable


Steps to Reproduce

  1. Configure perform harness with no included sections to be defer loaded.
  2. Configure a work object such that errors are present on it, as we open the work object from work list.


Root Cause



The section responsible for showing the error 'pyCaseErrorSection' is included in 'pyCaseHeaderOuter'. When the work object is processed for UI rendering, it is processed from top to bottom as such when 'pyCaseErrorSection' which is present at the top of harness is processed, before errors are put on the work object.

Resolution



Perform the below steps as local-change:

Mark the error section 'pyCaseErrorSection' included in 'pyCaseHeaderOuter' to defer load. This would cause the error section to be processed at the end and then as the error is already present on the work object, form level error would be displayed promptly.






Published August 8, 2017 - Updated August 9, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.