Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0041128 | Retail Modules | Web POS | public | 2019-06-17 13:29 | 2019-07-15 08:57 | |||||||
| Reporter | guillermogil | |||||||||||
| Assigned To | guilleaer | |||||||||||
| Priority | immediate | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | RR19Q1.2 | Fixed in Version | RR19Q1.2 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | guilleaer | |||||||||||
| OBNetwork customer | Gold | |||||||||||
| Support ticket | ||||||||||||
| Regression level | Production - Confirmed Stable | |||||||||||
| Regression date | 2019-12-16 | |||||||||||
| Regression introduced in release | RR19Q1 | |||||||||||
| Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/331aa4146a49 [^] | |||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0041128: QtyDelivered has changed its representation on DB | |||||||||||
| Description | QtyDelivered has changed its representation on DB and now is saved with decimal values and before 19Q1 it did not have decimal values at database level. As an example: On 18Q4 qtyDelivered at DB level was 1 On 19Q1 qtyDelivered at DB level is 1.0 As the representation of the value have changed some third party integration could be broken. It will happen with every column saved with a "BigDecimal.valueof" Previously it was a "new BigDecimal" It will be needed to check OrderLoader to review all the properties that have changed. We've identified QtyDelivered column but it is needed to check for more. | |||||||||||
| Steps To Reproduce | Create a ticket on WebPOS and check QtyDelivered column. | |||||||||||
| Proposed Solution | Modify: BigDecimal.valueOf(jsonOrderLine.getDouble("XXX")) To: new BigDecimal(jsonOrderLine.getString("XXX")) See diff attached. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2019-06-19 16:05 | migueldejuana | Type | defect => backport | |||||||||
| 2019-06-19 16:05 | migueldejuana | Target Version | => RR19Q1.2 | |||||||||
| 2019-06-19 16:09 | hgbot | Checkin | ||||||||||
| 2019-06-19 16:09 | hgbot | Note Added: 0112898 | ||||||||||
| 2019-06-19 16:09 | hgbot | Status | scheduled => resolved | |||||||||
| 2019-06-19 16:09 | hgbot | Resolution | open => fixed | |||||||||
| 2019-06-19 16:09 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bc44e82d318c0563a74a88db91941db7154bbb5 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1.2/org.openbravo.retail.posterminal/rev/4d42fec1c1534ef9b4b8a726601a3ca555331dde [^] | |||||||||
| 2019-06-19 16:13 | hgbot | Checkin | ||||||||||
| 2019-06-19 16:13 | hgbot | Note Added: 0112901 | ||||||||||
| 2019-07-08 13:29 | guilleaer | Review Assigned To | => guilleaer | |||||||||
| 2019-07-08 13:29 | guilleaer | Status | resolved => closed | |||||||||
| 2019-07-08 13:29 | guilleaer | Fixed in Version | => RR19Q1.2 | |||||||||
| 2019-07-15 08:57 | hgbot | Checkin | ||||||||||
| 2019-07-15 08:57 | hgbot | Note Added: 0113347 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||