summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/base/ReportWrapper.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/base/ReportWrapper.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/base/ReportWrapper.java
index c5bb9c5b..34ad3c8f 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/base/ReportWrapper.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/base/ReportWrapper.java
@@ -2652,6 +2652,11 @@ public class ReportWrapper extends org.onap.portalsdk.analytics.RaptorObject imp
generatedChartSQL = replaceNewLine(generatedChartSQL, "" + '\n', " " + '\n' + " ");
}
+ //Added Below code to by pass single quotes issue with form fields
+ if(generatedSQL != null && !generatedSQL.isEmpty()) {
+ generatedSQL = generatedSQL.replace("'(", "(");
+ generatedSQL = generatedSQL.replace(")'", ")");
+ }
return generatedSQL;
}