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 e583d221f9 Fixed: CreateFacilityLocation throws an error (OFBIZ-12984)
e583d221f9 is described below

commit e583d221f96f16a25c971a816def92a8e4aecea9
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu May 30 11:07:02 2024 +0200

    Fixed: CreateFacilityLocation throws an error (OFBIZ-12984)
    
    Unlike Java Groovy does not support multi-lines with "+" ad head. You need 
to
    put it at end of previous line
---
 .../org/apache/ofbiz/product/facility/storage/StorageServices.groovy  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/facility/storage/StorageServices.groovy
 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/facility/storage/StorageServices.groovy
index 8dd6157b20..99c967a23f 100644
--- 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/facility/storage/StorageServices.groovy
+++ 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/facility/storage/StorageServices.groovy
@@ -26,8 +26,8 @@ import org.apache.ofbiz.entity.GenericValue
 Map createFacilityLocation() {
     GenericValue newEntity = makeValue('FacilityLocation', parameters)
 
-    String locationSeqId = "${parameters.areaId ?: ''}${parameters.aisleId ?: 
''}${parameters.sectionId ?: ''}"
-    +"${parameters.levelId ?: ''}${parameters.positionId ?: ''}"
+    String locationSeqId = "${parameters.areaId ?: ''}${parameters.aisleId ?: 
''}${parameters.sectionId ?: ''}" +
+    "${parameters.levelId ?: ''}${parameters.positionId ?: ''}"
 
     if (locationSeqId) {
         int i = 1

Reply via email to