Problem invoking function pegaomf_on_nbaalib.searchProperty--
Frequent errors in the logs and on Customer Treatment screen.
Problem invoking function: pegaomf_on_nbaalib.searchProperty--(ClipboardProperty,String,ClipboardProperty), Dangling meta character '+' near index 7 ("32gb|+|20gb") ^
Steps to Reproduce
1) Launch NBA Portal.
2) Enter the Subscriber, Click enter and Select the customer.
3) Do/Select Customer NBA Interaction.
4) Select an Issue Reason and click Customer Treatment under Next Best Action.
5) In the Next screen i.e Customer Treatment screen, we have Search Treatments Tab there if we Enter a Treatment name starting with some Special characters Like : +^AAL Loyalty/#Add a Sub, then you will get reported error message.
The regular expression logic containing '+' was being used in the searchProperty function to find if the given string exists in the list of Offers, hence when the search was performed with string consist of '+' was giving the error.
Provided HFix-25917 which refactors the Search function and removes the use of regular expressions logic and uses indexOf to find if a given String exists in the list of Offers.
0% found this useful