Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035202 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | random | 2017-02-07 17:58 | 2017-03-06 10:37 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR16Q4.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a778e59fed09 | ||||
Projection | none | ETA | none | Target Version | RR16Q4.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035202: It is possible to have duplicated primary keys on WebSQL | |||||||
Description | It is possible to have duplicated primary keys on WebSQL if you have a lot of products with duplicated names and an small pagination. When the query is done it orders by name and since there are a lot that have the same value it can rely on errors in WebPOS console and losses of some record. It will be needed to review each masterdata to ensure the proper behavior of them. | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | See diff attached for product query and apply it on the other queries. It is needed to order by a unique constraint. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0094160) hgbot (developer) 2017-02-08 19:10 |
Repository: retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal Changeset: a778e59fed09501e5f3fc690121161235b6775e0 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Feb 08 19:00:21 2017 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a778e59fed09501e5f3fc690121161235b6775e0 [^] Fixed issue 35202. Added id in the order by of masterdata queries to ensure that pagination works even if several records have the same name --- M src/org/openbravo/retail/posterminal/master/BPCategory.java M src/org/openbravo/retail/posterminal/master/BPLocation.java M src/org/openbravo/retail/posterminal/master/Brand.java M src/org/openbravo/retail/posterminal/master/BusinessPartner.java M src/org/openbravo/retail/posterminal/master/Category.java M src/org/openbravo/retail/posterminal/master/CategoryTree.java M src/org/openbravo/retail/posterminal/master/Characteristic.java M src/org/openbravo/retail/posterminal/master/CharacteristicValue.java M src/org/openbravo/retail/posterminal/master/Product.java M src/org/openbravo/retail/posterminal/master/ReturnReason.java M src/org/openbravo/retail/posterminal/master/SalesRepresentative.java M src/org/openbravo/retail/posterminal/master/ServicePriceRuleRange.java M src/org/openbravo/retail/posterminal/master/ServicePriceRuleVersion.java M src/org/openbravo/retail/posterminal/master/ServiceProduct.java M src/org/openbravo/retail/posterminal/master/ServiceProductCategory.java M src/org/openbravo/retail/posterminal/master/TaxRate.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-02-08 15:34 | marvintm | Type | defect => backport |
2017-02-08 15:34 | marvintm | Target Version | => RR16Q4.2 |
2017-02-08 19:10 | hgbot | Checkin | |
2017-02-08 19:10 | hgbot | Note Added: 0094160 | |
2017-02-08 19:10 | hgbot | Status | scheduled => resolved |
2017-02-08 19:10 | hgbot | Resolution | open => fixed |
2017-02-08 19:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR16Q4.2/org.openbravo.retail.posterminal/rev/a778e59fed09501e5f3fc690121161235b6775e0 [^] |
2017-03-01 15:19 | marvintm | Assigned To | Retail => marvintm |
2017-03-06 10:37 | guilleaer | Review Assigned To | => guilleaer |
2017-03-06 10:37 | guilleaer | Status | resolved => closed |
2017-03-06 10:37 | guilleaer | Fixed in Version | => RR16Q4.2 |
Copyright © 2000 - 2009 MantisBT Group |