summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk')
-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 27ad62f9..4037bd0e 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
@@ -2651,6 +2651,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;
}