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
- On opening a case, use the OOTB pyCaseContainer WithWarning section & force Property Messages.
- The error message is actually "Show next error:" which user have localized to remove the word Error.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.