When I execute a PegaUnit test case written for a when rule which references Pagelist property, even though the test case shows success, there is an exception logged in Pegarules log as below.
Caused by: com.pega.pegarules.pub.clipboard.WrongModeException: The property *** was of mode Page List while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.setValueOverride(Object) was expecting a String or Page mode. Details: (none)
Post creating test case for a when rule referring a PageList property, I see that in assertion, a text box is displayed for Pagelist properties as well. It seems PegaUnit is considering it as a string property. Not sure why.
PFA, complete exception log.
Also, have attached screenshot of the assertion. InnerErrors is a pagelist property.
***Edited by Moderator: Pallavi to update Support Case details***