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

arunpati 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 8f252896ec Fixed: MissingPropertyException when copying quote 
adjustments in copyQuote service (OFBIZ-13458) (#1446)
8f252896ec is described below

commit 8f252896ec6304958f4afbd6f18948ea5e892a13
Author: chandan-khandelwal <[email protected]>
AuthorDate: Fri Jul 10 17:58:44 2026 +0530

    Fixed: MissingPropertyException when copying quote adjustments in copyQuote 
service (OFBIZ-13458) (#1446)
    
    Fixed: MissingPropertyException when copying quote adjustments in
    copyQuote service
    (OFBIZ-13458)
    
    Thanks Chandan Khandelwal for your contribution
---
 .../groovy/org/apache/ofbiz/order/quote/QuoteServicesScript.groovy    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/applications/order/src/main/groovy/org/apache/ofbiz/order/quote/QuoteServicesScript.groovy
 
b/applications/order/src/main/groovy/org/apache/ofbiz/order/quote/QuoteServicesScript.groovy
index 6e6f575093..017820d9b6 100644
--- 
a/applications/order/src/main/groovy/org/apache/ofbiz/order/quote/QuoteServicesScript.groovy
+++ 
b/applications/order/src/main/groovy/org/apache/ofbiz/order/quote/QuoteServicesScript.groovy
@@ -225,10 +225,10 @@ Map copyQuote() {
     // Copy quoteAdjustments.
     if (parameters.copyQuoteAdjustments == 'Y') {
         List quoteAdjustments = quote.getRelated('QuoteAdjustment', null, 
null, false)
-        for (GenericValue quoteAdjustement : quoteAdjustments) {
+        for (GenericValue quoteAdjustment : quoteAdjustments) {
             if (!quoteAdjustment.quoteItemSeqId) {
                 Map serviceContext = 
dctx.makeValidContext('createQuoteAdjustment', ModelService.IN_PARAM,
-                        [*: quoteAdjustement, quoteId: quoteIdTo, userLogin: 
userLogin])
+                        [*: quoteAdjustment, quoteId: quoteIdTo, userLogin: 
userLogin])
                 serviceResult = dispatcher.runSync('createQuoteAdjustment', 
serviceContext)
                 if (ServiceUtil.isError(serviceResult)) {
                     return serviceResult

Reply via email to