Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0041103 | Retail Modules | Web POS | public | 2019-06-17 13:29 | 2019-06-19 16:13 | ||||||||||||||
Reporter | guillermogil | ||||||||||||||||||
Assigned To | guilleaer | ||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | migueldejuana | ||||||||||||||||||
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 | 0041103: 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 | ![]() https://issues.openbravo.com/file_download.php?file_id=13022&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2019-06-17 13:29 | guillermogil | New Issue | |||||||||||||||||
2019-06-17 13:29 | guillermogil | Assigned To | => Retail | ||||||||||||||||
2019-06-17 13:29 | guillermogil | OBNetwork customer | => Gold | ||||||||||||||||
2019-06-17 13:29 | guillermogil | Resolution time | => 1562364000 | ||||||||||||||||
2019-06-17 13:29 | guillermogil | Regression level | => Production - Confirmed Stable | ||||||||||||||||
2019-06-17 13:29 | guillermogil | Triggers an Emergency Pack | => No | ||||||||||||||||
2019-06-17 13:29 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18933#r18933 | ||||||||||||||||
2019-06-17 13:33 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18934#r18934 | ||||||||||||||||
2019-06-17 13:33 | guillermogil | Proposed Solution updated | |||||||||||||||||
2019-06-17 13:37 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18935#r18935 | ||||||||||||||||
2019-06-17 13:37 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18936#r18936 | ||||||||||||||||
2019-06-17 13:39 | guillermogil | Regression date | => 2019-12-16 | ||||||||||||||||
2019-06-17 13:39 | guillermogil | Regression introduced in release | => RR19Q1 | ||||||||||||||||
2019-06-17 13:39 | guillermogil | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/331aa4146a49 [^] | ||||||||||||||||
2019-06-17 13:39 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18937#r18937 | ||||||||||||||||
2019-06-17 13:39 | guillermogil | Proposed Solution updated | |||||||||||||||||
2019-06-17 13:40 | guillermogil | Summary | QtyDelivered is saved with decimal => QtyDelivered is saved with decimal values | ||||||||||||||||
2019-06-17 13:51 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18938#r18938 | ||||||||||||||||
2019-06-17 13:57 | guillermogil | Summary | QtyDelivered is saved with decimal values => QtyDelivered has changed its representation on DB | ||||||||||||||||
2019-06-17 14:37 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18941#r18941 | ||||||||||||||||
2019-06-17 14:39 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18942#r18942 | ||||||||||||||||
2019-06-17 14:52 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18943#r18943 | ||||||||||||||||
2019-06-17 15:06 | guillermogil | File Added: 41103.diff | |||||||||||||||||
2019-06-17 15:06 | guillermogil | Proposed Solution updated | |||||||||||||||||
2019-06-17 16:03 | guillermogil | Description Updated | bug_revision_view_page.php?rev_id=18944#r18944 | ||||||||||||||||
2019-06-18 13:38 | guilleaer | Assigned To | Retail => guilleaer | ||||||||||||||||
2019-06-18 23:26 | hgbot | Checkin | |||||||||||||||||
2019-06-18 23:26 | hgbot | Note Added: 0112875 | |||||||||||||||||
2019-06-18 23:26 | hgbot | Checkin | |||||||||||||||||
2019-06-18 23:26 | hgbot | Note Added: 0112876 | |||||||||||||||||
2019-06-18 23:26 | hgbot | Status | new => resolved | ||||||||||||||||
2019-06-18 23:26 | hgbot | Resolution | open => fixed | ||||||||||||||||
2019-06-18 23:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bc44e82d318c0563a74a88db91941db7154bbb5 [^] | ||||||||||||||||
2019-06-19 16:05 | migueldejuana | Status | resolved => new | ||||||||||||||||
2019-06-19 16:05 | migueldejuana | Resolution | fixed => open | ||||||||||||||||
2019-06-19 16:05 | migueldejuana | Status | new => scheduled | ||||||||||||||||
2019-06-19 16:13 | migueldejuana | Status | scheduled => resolved | ||||||||||||||||
2019-06-19 16:13 | migueldejuana | Resolution | open => fixed | ||||||||||||||||
2019-06-19 16:13 | migueldejuana | Review Assigned To | => migueldejuana | ||||||||||||||||
2019-06-19 16:13 | migueldejuana | Note Added: 0112902 | |||||||||||||||||
2019-06-19 16:13 | migueldejuana | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|