Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036159 | Retail Modules | Web POS | public | 2017-06-01 11:31 | 2017-06-07 16:31 | |||||||
Reporter | marvintm | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR17Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | mtaal | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036159: When order synchronization fails in synchronized mode, previous state is not recovered properly | |||||||||||
Description | If an order synchronization fails when synchronized mode is enabled, the previous state of the order should be recovered. However, it seems this is currently not working fine. There seems to be at least two problems: - Snapshot of the order is taken too late in the process, so some changes required for synchronization but which make the order incompatible with its usage in the Web POS have already happened. - The snapshot is then not recovered properly, and the receipt shown in the UI is not correct | |||||||||||
Steps To Reproduce | - Enable synchronized mode, and force an error in Orderloader (for example, add an exception in the class). - Log in the Web POS. - Add an Avalanche transceiver. - Add a payment of 200€ in cash. This will create a payment greater than the total amount of the order, and will therefore generate change. - Complete the order. This will fail due to the exception in the Orderloader. - Verify that the amount of the payment has changed from 200 to 150.5. This is wrong. - If you try to sync it again, you will notice that the amount goes down again, and again... | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | issue36159.diff (4,073) 2017-06-01 11:38 https://issues.openbravo.com/file_download.php?file_id=10819&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-06-01 11:31 | marvintm | New Issue | ||||||||||
2017-06-01 11:31 | marvintm | Assigned To | => Retail | |||||||||
2017-06-01 11:31 | marvintm | Triggers an Emergency Pack | => No | |||||||||
2017-06-01 11:38 | marvintm | File Added: issue36159.diff | ||||||||||
2017-06-02 14:04 | marvintm | Resolution time | => 1497477600 | |||||||||
2017-06-06 11:47 | hgbot | Checkin | ||||||||||
2017-06-06 11:47 | hgbot | Note Added: 0097163 | ||||||||||
2017-06-06 11:47 | hgbot | Status | new => resolved | |||||||||
2017-06-06 11:47 | hgbot | Resolution | open => fixed | |||||||||
2017-06-06 11:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f8125d38051a7116fabe0b2d2d3f33a13af5d06b [^] | |||||||||
2017-06-06 11:47 | hgbot | Checkin | ||||||||||
2017-06-06 11:47 | hgbot | Note Added: 0097164 | ||||||||||
2017-06-06 11:47 | marvintm | Review Assigned To | => mtaal | |||||||||
2017-06-06 11:57 | marvintm | Assigned To | Retail => marvintm | |||||||||
2017-06-07 16:31 | mtaal | Note Added: 0097193 | ||||||||||
2017-06-07 16:31 | mtaal | Status | resolved => closed | |||||||||
2017-06-07 16:31 | mtaal | Fixed in Version | => RR17Q3 | |||||||||
2017-09-19 09:24 | ranjith_qualiantech_com | Relationship added | related to 0036859 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|