OOTB Refresh Section functionality not working as expected
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.
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.
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.
100% found this useful