[ofbiz-framework] branch release18.12 updated: Fixed: Cannot find symbol for variable RES_ERROR due to regression by the backport for OFBIZ-10971.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release18.12 updated: Fixed: Cannot find symbol for variable RES_ERROR due to regression by the backport for OFBIZ-10971.

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

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


The following commit(s) were added to refs/heads/release18.12 by this push:
     new 38e249b  Fixed: Cannot find symbol for variable RES_ERROR due to regression by the backport for OFBIZ-10971.
38e249b is described below

commit 38e249bb36532c3a95a6e1c19fd00078aeb3f0f7
Author: Michael Brohl <[hidden email]>
AuthorDate: Mon Feb 15 18:41:40 2021 +0100

    Fixed: Cannot find symbol for variable RES_ERROR due to regression by
    the backport for OFBIZ-10971.
---
 .../java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
index b041394..4d177c0 100644
--- a/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
+++ b/applications/order/src/main/java/org/apache/ofbiz/order/shoppingcart/ShoppingCartEvents.java
@@ -1867,7 +1867,7 @@ public class ShoppingCartEvents {
                             || "ASSET_USAGE_OUT_IN".equals(ProductWorker.getProductTypeId(delegator, productId))) {
                         request.setAttribute("product_id", productId);
                         request.setAttribute("_EVENT_MESSAGE_",
-                                UtilProperties.getMessage(RES_ERROR, "cart.addToCart.enterBookingInforamtionBeforeAddingToCart", locale));
+                                UtilProperties.getMessage(resource_error, "cart.addToCart.enterBookingInforamtionBeforeAddingToCart", locale));
                         return "product";
                     }
                 }