This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 577e968a3d Fixed: Order PDF is not working (OFBIZ-12867)
577e968a3d is described below

commit 577e968a3d6a3040cecb32f748e8e240189e2e9d
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Mon Nov 20 15:39:32 2023 +0100

    Fixed: Order PDF is not working (OFBIZ-12867)
    
    As reported by Ernest Hocking on user ML, there is an issue while 
generating an
    order PDF. This is only in trunk.
    
    It's due to DocTypeTemplate.groovy::getFieldTypeName that should return a 
String
    instead of a Map
    
    Thanks: Ernest Hocking for report
---
 .../groovy/org/apache/ofbiz/commonext/template/DocTypeTemplate.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/applications/commonext/src/main/groovy/org/apache/ofbiz/commonext/template/DocTypeTemplate.groovy
 
b/applications/commonext/src/main/groovy/org/apache/ofbiz/commonext/template/DocTypeTemplate.groovy
index 3352181172..bcf27df0eb 100644
--- 
a/applications/commonext/src/main/groovy/org/apache/ofbiz/commonext/template/DocTypeTemplate.groovy
+++ 
b/applications/commonext/src/main/groovy/org/apache/ofbiz/commonext/template/DocTypeTemplate.groovy
@@ -21,7 +21,7 @@ package org.apache.ofbiz.commonext.template
 import org.apache.ofbiz.entity.GenericValue
 import org.apache.ofbiz.entity.model.ModelUtil
 
-Map getFieldTypeName(String entityName) {
+String getFieldTypeName(String entityName) {
     return ModelUtil.lowerFirstChar(entityName) + 'Id'
 }
 

Reply via email to