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

ashishvijaywargiya 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 a337367e6b Fixing console warnings and errors (#1313)
a337367e6b is described below

commit a337367e6b674ef196a1350ee26cc5714e165b48
Author: Ashish Vijaywargiya <[email protected]>
AuthorDate: Tue Jun 2 17:40:49 2026 +0530

    Fixing console warnings and errors (#1313)
    
    Fixing console warnings and errors.
---
 applications/order/testdef/data/ShoppingListTestData.xml          | 6 +++---
 .../ofbiz/product/product/store/ProductStoreServices.groovy       | 2 +-
 applications/workeffort/testdef/data/WorkEffortTestData.xml       | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/applications/order/testdef/data/ShoppingListTestData.xml 
b/applications/order/testdef/data/ShoppingListTestData.xml
index 6c84d1a8a6..a2af122195 100644
--- a/applications/order/testdef/data/ShoppingListTestData.xml
+++ b/applications/order/testdef/data/ShoppingListTestData.xml
@@ -20,7 +20,7 @@ under the License.
 
 <entity-engine-xml>
     <ShoppingList shoppingListId="DemoWishList" listName="Demo Wish List" 
partyId="DemoCustomer" shoppingListTypeId="SLT_WISH_LIST" productStoreId="9000" 
isActive="Y" currencyUom="USD" isPublic="N"/>
-    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00001" productId="GZ-2644" quantity="5" 
productStoreId="9000"/>
-    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00002" productId="WG-1111" quantity="2" 
productStoreId="9000"/>
-    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00003" productId="WG-5569" quantity="10" 
productStoreId="9000"/>
+    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00001" productId="GZ-2644" quantity="5"/>
+    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00002" productId="WG-1111" quantity="2"/>
+    <ShoppingListItem shoppingListId="DemoWishList" 
shoppingListItemSeqId="00003" productId="WG-5569" quantity="10"/>
 </entity-engine-xml>
diff --git 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
index 1e330b029f..4890bd94da 100644
--- 
a/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
+++ 
b/applications/product/src/main/groovy/org/apache/ofbiz/product/product/store/ProductStoreServices.groovy
@@ -136,7 +136,7 @@ Map reserveStoreInventory() {
     }
 
     GenericValue product = from('Product').where(parameters).cache().queryOne()
-    GenericValue orderHeader = 
from('OrderHeader').where(parameters).cache().queryOne()
+    GenericValue orderHeader = from('OrderHeader').where(parameters).queryOne()
     parameters.priority = orderHeader.priority
 
     // if prodCatalog is set to not reserve inventory, break here
diff --git a/applications/workeffort/testdef/data/WorkEffortTestData.xml 
b/applications/workeffort/testdef/data/WorkEffortTestData.xml
index bb77b9ad65..2b48962353 100644
--- a/applications/workeffort/testdef/data/WorkEffortTestData.xml
+++ b/applications/workeffort/testdef/data/WorkEffortTestData.xml
@@ -52,10 +52,10 @@ under the License.
     <WorkEffort workEffortId="TestWorkeffort-3" currentStatusId="CAL_ACCEPTED" 
workEffortName="New Test Workeffort" workEffortTypeId="TASK"/>
     <WorkEffort workEffortId="TestWorkeffort-4" currentStatusId="CAL_ACCEPTED" 
workEffortName="New Test Workeffort" workEffortTypeId="TASK"/>
 
-    <WorkEffortPartyAssignment partyId="TestParty" 
currentStatusId="PRTYASGN_ASSIGNED" roleTypeId="CONTACT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 01:01:01"/>
-    <WorkEffortPartyAssignment partyId="TestParty" 
currentStatusId="PRTYASGN_ASSIGNED" roleTypeId="CUSTOMER" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
-    <WorkEffortPartyAssignment partyId="TestParty" 
currentStatusId="PRTYASGN_ASSIGNED" roleTypeId="ACCOUNTANT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
-    <WorkEffortPartyAssignment partyId="TestParty-1" 
currentStatusId="PRTYASGN_ASSIGNED" roleTypeId="ACCOUNTANT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
+    <WorkEffortPartyAssignment partyId="TestParty" 
statusId="PRTYASGN_ASSIGNED" roleTypeId="CONTACT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 01:01:01"/>
+    <WorkEffortPartyAssignment partyId="TestParty" 
statusId="PRTYASGN_ASSIGNED" roleTypeId="CUSTOMER" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
+    <WorkEffortPartyAssignment partyId="TestParty" 
statusId="PRTYASGN_ASSIGNED" roleTypeId="ACCOUNTANT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
+    <WorkEffortPartyAssignment partyId="TestParty-1" 
statusId="PRTYASGN_ASSIGNED" roleTypeId="ACCOUNTANT" 
workEffortId="TestWorkeffort-3" fromDate="2009-09-09 02:02:02"/>
 
     <CommunicationEvent communicationEventId="TestEvent-1" 
communicationEventTypeId="EMAIL_COMMUNICATION" statusId="COM_IN_PROGRESS" 
contactMechIdFrom="TestContactMech" contactMechIdTo="TestContactMech2" 
roleTypeIdFrom="BILL_TO_CUSTOMER" roleTypeIdTo="CUSTOMER" 
partyIdFrom="TestCompany" partyIdTo="TestParty" entryDate="2010-10-27 
15:04:17.895" subject="Test Subject 1" contentMimeTypeId="text/plain" />
 

Reply via email to