Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Ghost Error section

SA-34346

Summary



In OOTB section (pyCaseContent) which contains some embedded sections and a Layout Group, the work-item is validated on load & some properties are assigned Property Messages to indicate they have been updated. Somehow, an extra error block is inserted into the Layout Group above the Dynamic Layouts that define the tabs which is not desired by the user.


Error Messages



Not Applicable


Steps to Reproduce

  1. On opening a case, use the OOTB pyCaseContainer WithWarning section & force Property Messages.
  2. The error message is actually "Show next error:" which user have localized to remove the word Error.
  3. The message that add to the properties is "Updated" and have never set "Show next error:" anywhere


Root Cause



Layout Group JS has the function to change alert message box color to pink.

Resolution



Add UserWorkForm to change style to hide alert message box size and color like below.
_addLayoutErrorMessage = function(layout) {
....
layout.prepend("<div class='errorText error-table' style='color:white; backgroud-color:white; border-top:none; border-left:none; border-right: none; width:0%; padding:0px;border-bottom:none;'></div>").children(".errorText").click(_goToNextError).focusin(function(){event.cancelBubble=true;})
} else {
errorTable.text(message);
}

Published March 3, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us