Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045911 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2021-02-17 06:31 | 2021-02-19 13:46 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045911: Opening an order from the backend fails in Safari | |||||||
Description | Currently opening an order from the backend is failing in Safari (it works correctly in Chrome). It fails with an exception in the following code: function addPayments(ticket, payload) { const payments = ticket.payments.map(payment => { const newPayment = { ...payment, date: new Date(payment.paymentDate), paymentDate: new Date(payment.paymentDate).toISOString(), <--- The reason is that in Safari creating a date with the constructor fails if the format is not exactly what Safari expects. | |||||||
Steps To Reproduce | Click on Open Receipt selector. Search. Select one order. Realise that the order is never opened, and an exception happens in the mentioned code. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0126201) hgbot (developer) 2021-02-19 10:18 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/307 [^] |
(0126216) hgbot (developer) 2021-02-19 13:46 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 1b914e3c3f3924e0adedc34a0dd624c98c8ae935 Author: Ranjith S R <ranjith@qualiantech.com> Date: 2021-02-19T12:46:49+00:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1b914e3c3f3924e0adedc34a0dd624c98c8ae935 [^] Fixed ISSUE-45911: Update Date format for Receipt Payment Date * When opening paid receipt, paymentdate format should be date instead datetime --- M src/org/openbravo/retail/posterminal/PaidReceipts.java --- |
(0126217) hgbot (developer) 2021-02-19 13:46 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/307 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-02-17 06:31 | marvintm | New Issue | |
2021-02-17 06:31 | marvintm | Assigned To | => Retail |
2021-02-17 06:31 | marvintm | OBNetwork customer | => No |
2021-02-17 06:31 | marvintm | Triggers an Emergency Pack | => No |
2021-02-17 06:33 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2021-02-18 07:29 | ranjith_qualiantech_com | Status | new => scheduled |
2021-02-19 10:18 | hgbot | Merge Request Status | => open |
2021-02-19 10:18 | hgbot | Note Added: 0126201 | |
2021-02-19 13:46 | hgbot | Merge Request Status | open => approved |
2021-02-19 13:46 | hgbot | Resolution | open => fixed |
2021-02-19 13:46 | hgbot | Status | scheduled => closed |
2021-02-19 13:46 | hgbot | Fixed in Version | => RR21Q2 |
2021-02-19 13:46 | hgbot | Note Added: 0126216 | |
2021-02-19 13:46 | hgbot | Note Added: 0126217 |
Copyright © 2000 - 2009 MantisBT Group |