Skip to content

Commit af1c60c

Browse files
committed
Remove org.json lib fork and use new version of the API https://github.com/stleary/JSON-java
Issue: 105607
1 parent 5f66ab7 commit af1c60c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gxweb/src/main/java/com/genexus/webpanels/GXWebPanel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,8 @@ private void parseGridsDataParms(JSONObject gxGrids)
585585
{
586586
int lastRow = grid.getInt("lastRow") + 1;
587587
try{
588-
SetFieldValue("sGXsfl_" + grid.getString("id") + "_idx", String.format("%04d", lastRow) + pRow);
589-
SetFieldValue("nGXsfl_" + grid.getString("id") + "_idx", String.valueOf(lastRow));
588+
SetFieldValue("sGXsfl_" + grid.get("id").toString() + "_idx", String.format("%04d", lastRow) + pRow);
589+
SetFieldValue("nGXsfl_" + grid.get("id").toString() + "_idx", String.valueOf(lastRow));
590590
}
591591
catch(Exception ex1)
592592
{
@@ -937,7 +937,7 @@ private Object[] beforeInvoke() throws JSONException, Exception {
937937
}
938938
else
939939
{
940-
strValue = columnValues.getString(j);
940+
strValue = columnValues.get(j).toString();
941941
}
942942
targetObj.httpContext.changePostValue(varName, strValue);
943943
rowIdx++;

0 commit comments

Comments
 (0)