Question

4
Replies
105
Views
VinayH68 Member since 2016 1 post
Areteans
Posted: 1 year ago
Last activity: 1 year 5 months ago
Closed

Compile error for section pyWorkBasketsGridForWidget from UI-Kit-7 ruleset

We are getting compilation error for section pyWorkBasketsGridForWidget. It is mainly because of JSP tag in section (<%=tools.findPage("D_pyWorkbasketsInMyWorkGroupInWidget").getString("pxResultCount")%>). When private edit and trying to save section without any changes below error is shown. (Whole thing is working in other environment)

Test compilation failed: ----------
1. ERROR in /Rule_HTML_Section_Data_Portal_pyWorkBasketsGridForWidget_Stream_20190414T034307_766_GMT.java (at line 472)
tools.appendString("' " + pega.getUIEngine().getFVInspectorUtils().startCollectingFieldValueData() + pzCell.getInspectorDataDynamic("Label",null,"RH_1.pySections(2).pySectionBody(1).pyTable.pyRows(1).pyCells(2)") + " class='content-item content-label item-" + Integer.toString(index) + " remove-bottom-spacing ' STRING_TYPE='label' RESERVE_SPACE='false'><div class='content-inner '>" + "<div " + pzCell.getTestIdIfEnabled("20150107144324063924230") + " class='field-item " + pzSection.getCell().getLabelErrorSkin("(<%=tools.findPage("D_pyWorkbasketsInMyWorkGroupInWidget")","getString("pxResultCount")%>)") + pzSection.getCustomStyle(false, "","dataLabelRead","dataLabelWrite") + "' >");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on token "D_pyWorkbasketsInMyWorkGroupInWidget", invalid AssignmentOperator
----------
2. ERROR in /Rule_HTML_Section_Data_Portal_pyWorkBasketsGridForWidget_Stream_20190414T034307_766_GMT.java (at line 472)
tools.appendString("' " + pega.getUIEngine().getFVInspectorUtils().startCollectingFieldValueData() + pzCell.getInspectorDataDynamic("Label",null,"RH_1.pySections(2).pySectionBody(1).pyTable.pyRows(1).pyCells(2)") + " class='content-item content-label item-" + Integer.toString(index) + " remove-bottom-spacing ' STRING_TYPE='label' RESERVE_SPACE='false'><div class='content-inner '>" + "<div " + pzCell.getTestIdIfEnabled("20150107144324063924230") + " class='field-item " + pzSection.getCell().getLabelErrorSkin("(<%=tools.findPage("D_pyWorkbasketsInMyWorkGroupInWidget")","getString("pxResultCount")%>)") + pzSection.getCustomStyle(false, "","dataLabelRead","dataLabelWrite") + "' >");
^^^^^^^^^^^^^
Syntax error on token "pxResultCount", invalid AssignmentOperator
----------
2 problems (2 errors)
Compile failed.

***Edited by Moderator Marissa to update platform capability tags****

Pega Platform Case Management User Interface
Moderation Team has archived post
Share this page LinkedIn