Failures in RUFs after upgrading to Pega 7.2.2
Rule-Utility-function(RUF) getXpathNode is behaving differently after upgrading to Pega 7.2.2.
User has a data page Declare_Products in the environment which is not getting loaded because of the upgrade. This is working fine in another environment which is on Pega 7.2.
Steps to Reproduce
1) Log into Application.
2) Run the data page that uses the RUF.
The classes that are being referred in this function getXPathNode are coming from ‘net.sf.saxon.xpath.*’, whereas the same classes are coming from ‘com.sun.org.apache.xpath.*’ in another environment which is on Pega 7.2 in which there is no issue.
ResolutionChange the RUF code to fetch XPathFactory.newInstance(); as new XPathFactoryImpl() and import package "com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl" in Imports & Exceptions tab of the RUF.
This will make to use the implementation of ""com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl" instead of "net.sf.saxon.xpath.XPathFactoryImpl".
0% found this useful