Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2023-01-24 15:522023-01-27 07:40
ReportermarvintmView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR23Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelProduction - Confirmed Stable
Regression date2022-08-29
Regression introduced in releaseRR22Q4
Regression introduced by commit [^]
Triggers an Emergency PackNo

0051448: Cashup update happening in orders and cashups is failing if the "paymentMethods" property is not defined, generating EWIs

DescriptionAs part of this project: [^]

new data was added to the cashup information, and the corresponding classes that process and save it were changed, and they are now expecting it to be there (and specifically, the "paymentMethods" object inside the cashupReportInformation data).

However, if orders or cashups were generated while being offline, and then the customer is updated, this data will not be in the JSON, and the process will fail, generating records in Errors While Importing.

This is not correct, the code should be smart and first check if the "paymentMethods" property exist, and if it doesn't the corresponding code to save it should not be executed.
Steps To Reproduce- Create orders or cashups while being offline in a release before this development
- Update to the newer version with this development, and then synchronize those orders
- Verify that they generate Errors While importing
Proposed SolutionHandle the case of "paymentMethods" property not being present, by just ignoring this part of the code.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0051446 closedranjith_qualiantech_com Cashup update happening in orders and cashups is failing if the "paymentMethods" property is not defined, generating EWIs 

-  Notes
hgbot (developer)
2023-01-27 06:34

Merge Request created: [^]
hgbot (developer)
2023-01-27 07:40

Merge request merged: [^]
hgbot (developer)
2023-01-27 07:40

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: 5e51ef10338b589bf8c66f37b7292c61dbf8a8f4
Author: Ranjith S R <>
Date: 27-01-2023 10:54:28
URL: [^]

Fixed ISSUE-51448: PaymentMethodCashup should updated with paymentMethods if exists
* If paymentMethods is exists in cashup json, then it should be used
  to create the PaymentMethodCashup

M src/org/openbravo/retail/posterminal/

- Issue History
Date Modified Username Field Change
2023-01-24 15:53 marvintm Type defect => backport
2023-01-24 15:53 marvintm Target Version => RR18Q4.4
2023-01-24 15:54 marvintm Target Version RR18Q4.4 => RR23Q1
2023-01-25 06:05 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-01-27 06:34 hgbot Note Added: 0145893
2023-01-27 07:40 hgbot Resolution open => fixed
2023-01-27 07:40 hgbot Status scheduled => closed
2023-01-27 07:40 hgbot Note Added: 0145896
2023-01-27 07:40 hgbot Fixed in Version => RR23Q1
2023-01-27 07:40 hgbot Note Added: 0145897

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker