Support Article
OOTB Refresh Section functionality not working as expected
SA-54401
Summary
User has section to show last record of a pagelist .Section has button with Delete functionality to delete last record from pagelist and then refresh section to show next last record. Upon delete and refresh section , still it shows old record.
Error Messages
Not Applicable
Steps to Reproduce
1.In section rule, add text control(s) to show pagelist<LAST>.propertyname.
2.Add button with On Click Refresh This Section Run Activity where activity deletes the last record of pagelist.
3.Run case and in the section rule click on delete button.
Root Cause
A defect in Pegasystems’ code or rules :-
Upon delete, clipboard is showing expected result but UI is not getting refreshed.
In pzpega_ui_templateengine.js file , while merging the objects if the source has less objects than the target, in case of <LAST> the extra objects from the target meta data from the ClientDataProvider should be removed, which is not happening currently.
Resolution
Apply HFix-42607
Published July 23, 2018 - 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.