From fabbba342c992e5bad48be269e75ca9ef86e9d3d Mon Sep 17 00:00:00 2001
From: SebastianEcomify <60644736+SebastianEcomify@users.noreply.github.com>
Date: Fri, 12 Mar 2021 11:01:44 +0100
Subject: [PATCH] Fixed: Addressed log issues caused in FindGeneric.groovy
(OFBIZ-12193) (#285)
The backportet Version of searchForm in FindGeneric.groovy was to
advanced for the 18.12 Version. The form was changed back to its
previous version and the changes causing the view Error in ViewEntities
have been worked into it
---
.../groovyScripts/entity/FindGeneric.groovy | 47 ++++++++-----------
1 file changed, 19 insertions(+), 28 deletions(-)
diff --git a/framework/webtools/groovyScripts/entity/FindGeneric.groovy b/framework/webtools/groovyScripts/entity/FindGeneric.groovy
index be6c73b9dc..4667c6fd59 100644
--- a/framework/webtools/groovyScripts/entity/FindGeneric.groovy
+++ b/framework/webtools/groovyScripts/entity/FindGeneric.groovy
@@ -83,34 +83,25 @@ if (modelEntity) {
context.dynamicAutoEntitySearchForm = writer
//prepare the result list from performFind
- String dynamicAutoEntityFieldListForm = """
- """
-
+ String dynamicAutoEntityFieldListForm = '' +
+ ''
+ //Debug.logInfo(dynamicAutoEntityFieldForm, "")
Document dynamicAutoEntityFieldListFormXml = UtilXml.readXmlDocument(dynamicAutoEntityFieldListForm, true, true)
modelFormMap = FormFactory.readFormDocument(dynamicAutoEntityFieldListFormXml, entityModelReader, dispatcher.getDispatchContext(), entityName)
if (UtilValidate.isNotEmpty(modelFormMap)) {