Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041103 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-06-17 13:29 | 2019-06-19 16:13 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | guilleaer | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 6bc44e82d318 | ||||
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 | ||||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0112875) hgbot (developer) 2019-06-18 23:26 |
Repository: tools/automation/pi-mobile Changeset: 5e69713588425dbd81e43254a1c25da141882e35 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Tue Jun 18 12:59:04 2019 +0200 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/5e69713588425dbd81e43254a1c25da141882e35 [^] Related to issue 41103: Adapt test --- M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/productlockeddiscontinued/VerifyProductDiscontinuedWithoutStock.java --- |
(0112876) hgbot (developer) 2019-06-18 23:26 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 6bc44e82d318c0563a74a88db91941db7154bbb5 Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Tue Jun 18 12:52:08 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bc44e82d318c0563a74a88db91941db7154bbb5 [^] fixed Issue 41103: Use new instead of value of for qtyDelivered --- M src/org/openbravo/retail/posterminal/OrderLoader.java --- |
(0112902) migueldejuana (viewer) 2019-06-19 16:13 |
Tested and reviewed |
![]() |
|||
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 | View Revisions |
2019-06-17 13:33 | guillermogil | Description Updated | View Revisions |
2019-06-17 13:33 | guillermogil | Proposed Solution updated | |
2019-06-17 13:37 | guillermogil | Description Updated | View Revisions |
2019-06-17 13:37 | guillermogil | Description Updated | View Revisions |
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 | View Revisions |
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 | View Revisions |
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 | View Revisions |
2019-06-17 14:39 | guillermogil | Description Updated | View Revisions |
2019-06-17 14:52 | guillermogil | Description Updated | View Revisions |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |