Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048701
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-03-01 14:222022-03-03 08:18
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR22Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0048701: Payment data is retrieved as a String instead of json

DescriptionWhen reprint functionality is used, the receipt loaded from the backoffice is loaded with the paymentData property as string, instead of Json
Steps To Reproduce. in live:
1. load POS
2. select Arturo Montoro
3. Menu > issue invoice
4. add line
5. click in total button
6. add payment
7. in Chrome Dev Tools execute:
OB.MobileApp.model.receipt.get('payments').at(0).set('paymentData', {"a":1});
OB.MobileApp.model.receipt.save()
8. complete the ticket
9. Open receipt > load previous receipt
10. in Chrome Dev Tools:
add breakpoint in line 111514 (see screenshot)
11. Menu > print: select invoice and click in "invoice" button
the execution is stopped in breakpont
check the value of
data.at(0).receiptPayments.at(0).paymentData
it is one string instead of json
(see screenshot 2)
TagsNo tags attached.
Attached Filespng file icon 1.png [^] (41,491 bytes) 2022-03-01 14:23


png file icon 2.png [^] (48,444 bytes) 2022-03-01 14:23


diff file icon 48701_19Q3_posterminal.diff [^] (1,583 bytes) 2022-03-03 05:45 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0135367)
malsasua (developer)
2022-03-01 17:37

This problem is reported by a customer in 19Q3. A backport is required
(0135391)
hgbot (developer)
2022-03-02 15:25

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/732 [^]
(0135411)
hgbot (developer)
2022-03-03 08:18

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/732 [^]
(0135412)
hgbot (developer)
2022-03-03 08:18

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 7b5494f4d51fb91a8bbde9df8ff342741d96d9df
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 02-03-2022 14:32:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7b5494f4d51fb91a8bbde9df8ff342741d96d9df [^]

Fixed ISSUE-48701: PaymentData converted to json when loading invoices

---
M src/org/openbravo/retail/posterminal/Invoices.java
---

- Issue History
Date Modified Username Field Change
2022-03-01 14:22 malsasua New Issue
2022-03-01 14:22 malsasua Assigned To => Retail
2022-03-01 14:22 malsasua Triggers an Emergency Pack => No
2022-03-01 14:23 malsasua File Added: 1.png
2022-03-01 14:23 malsasua File Added: 2.png
2022-03-01 17:37 malsasua Note Added: 0135367
2022-03-02 08:03 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-03-02 08:35 ranjith_qualiantech_com Status new => scheduled
2022-03-02 15:25 hgbot Note Added: 0135391
2022-03-03 05:45 ranjith_qualiantech_com File Added: 48701_19Q3_posterminal.diff
2022-03-03 08:18 hgbot Note Added: 0135411
2022-03-03 08:18 hgbot Resolution open => fixed
2022-03-03 08:18 hgbot Status scheduled => closed
2022-03-03 08:18 hgbot Fixed in Version => RR22Q2
2022-03-03 08:18 hgbot Note Added: 0135412


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker