Support Article
Harness rules have problem with pxCaseMgrheader script
SA-32904
Summary
Harness rules have problem with pxCaseMgrHeader script.
Error Messages
Test compilation failed: ----------
1. ERROR in Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT.java (at line 312)
includeGeneratedCSS_1();
^^^^^^^^^^^^^^^^^^^^^
The method includeGeneratedCSS_1() is undefined for the type Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT
----------
2. ERROR in Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT.java (at line 393)
includeSectionBody_1();
^^^^^^^^^^^^^^^^^^^^
The method includeSectionBody_1() is undefined for the type Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT
----------
3. ERROR in Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT.java (at line 405)
includeSectionBody_2();
^^^^^^^^^^^^^^^^^^^^
The method includeSectionBody_2() is undefined for the type Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT
----------
4. ERROR in Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT.java (at line 412)
elementModel_1();
^^^^^^^^^^^^^^
The method elementModel_1() is undefined for the type Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT
----------
5. ERROR in Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT.java (at line 414)
putLazyLoadInfo_1();
^^^^^^^^^^^^^^^^^
The method putLazyLoadInfo_1() is undefined for the type Rule_HTML_Harness_Data_Portal_ExceptionPanels_Stream_20161212T191855_976_GMT
----------
5 problems (5 errors)
File Name: ** Invalid java script file specified
Steps to Reproduce
Check out a harness.
Root Cause
Not Applicable
Resolution
Following is the explanation:
The harness was referring to ‘pxCaseMgrHeader’ in PRPC 6.2, but the JS in Pega 7.1.7 is ‘pxCaseMgrheader’.
Change the js name from ‘pxCaseMgrHeader’ to ‘pxCaseMgrheader’ in the harness.
Published February 6, 2017 - 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.