Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030592Retail ModulesWeb POSpublic2015-08-17 15:282015-08-26 09:28
Orekaria 
Orekaria 
highmajoralways
closedfixed 
5
 
RR15Q2.4 
marvintm
Automated tests
No
0030592: In the WebPOS document sequence table, It is possible to create more than 1 record for a terminal
In the WebPOS document sequence table, It is possible to create more than 1 record for a terminal
Clear the cache
Login in the WebPOS
Verify that, in the WebSQL database, c_document_sequence table, 2 records have been created for the same terminal search key (INCORRECT)
No tags attached.
blocks design defect 0030590RR15Q4 closed Orekaria In the WebPOS document sequence table, It is possible to create more than 1 record for a terminal 
Issue History
2015-08-17 15:28OrekariaTypedesign defect => backport
2015-08-17 15:28OrekariaTarget Version => RR15Q2.4
2015-08-25 08:41hgbotCheckin
2015-08-25 08:41hgbotNote Added: 0079650
2015-08-25 08:41hgbotStatusscheduled => resolved
2015-08-25 08:41hgbotResolutionopen => fixed
2015-08-25 08:41hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/7563de118742ec85684ba3749ee540fe058bce41 [^]
2015-08-25 08:42hgbotCheckin
2015-08-25 08:42hgbotNote Added: 0079652
2015-08-25 08:42hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/7563de118742ec85684ba3749ee540fe058bce41 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/ad772605a7d4e68f3f3d82d61ee1deac8f6ff82d [^]
2015-08-25 08:42hgbotCheckin
2015-08-25 08:42hgbotNote Added: 0079654
2015-08-25 08:42hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/ad772605a7d4e68f3f3d82d61ee1deac8f6ff82d [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/54a8e71c3f32e228321f3e001324a1c646e3686e [^]
2015-08-25 11:22hgbotCheckin
2015-08-25 11:22hgbotNote Added: 0079686
2015-08-25 11:22hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/54a8e71c3f32e228321f3e001324a1c646e3686e [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/98d68b4fdb887fb9fd053ff2b1083ab1b2c53874 [^]
2015-08-25 15:46hgbotCheckin
2015-08-25 15:46hgbotNote Added: 0079720
2015-08-25 15:46hgbotCheckin
2015-08-25 15:46hgbotNote Added: 0079721
2015-08-25 15:46hgbotCheckin
2015-08-25 15:46hgbotNote Added: 0079722
2015-08-25 15:50marvintmReview Assigned To => marvintm
2015-08-25 15:50marvintmStatusresolved => closed
2015-08-26 09:28hgbotCheckin
2015-08-26 09:28hgbotNote Added: 0079730
2016-04-10 17:25dmitry_mezentsevRelationship addedcauses 0032410
2016-04-10 17:29dmitry_mezentsevRelationship deletedcauses 0032410

Notes
(0079650)
hgbot   
2015-08-25 08:41   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: 7563de118742ec85684ba3749ee540fe058bce41
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Aug 17 16:17:57 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/7563de118742ec85684ba3749ee540fe058bce41 [^]

Fixes issue 30592, backport of issue 30590: The pos_search_key is set to be unique

The problem was that some changes in the code were creating more than 1 record, but no error was raised

---
M web/org.openbravo.retail.posterminal/js/model/document-sequence.js
---
(0079652)
hgbot   
2015-08-25 08:42   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: ad772605a7d4e68f3f3d82d61ee1deac8f6ff82d
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Mon Aug 17 16:06:02 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/ad772605a7d4e68f3f3d82d61ee1deac8f6ff82d [^]

Fixes issue 30592, backport of issue 30590: Force the saveDocumentSequence when the terminal info fails to be loaded

The problem was that forcing it in the render method, provoked a race condition between that call and the call when the response of the terminal reached the client, creating 2 records

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0079654)
hgbot   
2015-08-25 08:42   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: 54a8e71c3f32e228321f3e001324a1c646e3686e
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Sat Aug 22 20:32:56 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/54a8e71c3f32e228321f3e001324a1c646e3686e [^]

Fixes issue 30592, backport of issue 30590: Initialize the document sequence

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0079686)
hgbot   
2015-08-25 11:22   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: 98d68b4fdb887fb9fd053ff2b1083ab1b2c53874
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 25 11:20:53 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/98d68b4fdb887fb9fd053ff2b1083ab1b2c53874 [^]

Fixes issue 30592, backport of issue 30590: Fixed transplant

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0079720)
hgbot   
2015-08-25 15:46   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: 327eac685b895f360c4a9b066022b59689b3255c
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 25 15:42:22 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/327eac685b895f360c4a9b066022b59689b3255c [^]

Backed out changeset: 98d68b4fdb88, issue 30592

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0079721)
hgbot   
2015-08-25 15:46   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: cdba5ca438483bec906ba70923c04fbca904fe0d
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 25 15:42:34 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/cdba5ca438483bec906ba70923c04fbca904fe0d [^]

Backed out changeset: 54a8e71c3f32, issue 30592

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0079722)
hgbot   
2015-08-25 15:46   
Repository: retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal
Changeset: 9c5f3f405dcd036005bdd7acc4823f0952c54433
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Aug 25 15:42:43 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.4/org.openbravo.retail.posterminal/rev/9c5f3f405dcd036005bdd7acc4823f0952c54433 [^]

Backed out changeset: ad772605a7d4, issue 30592

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0079730)
hgbot   
2015-08-26 09:28   
Repository: tools/automation/pi-mobile
Changeset: 1467e42456ca918c61cb1df05115a55d00d874fa
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Wed Aug 26 01:35:26 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1467e42456ca918c61cb1df05115a55d00d874fa [^]

Related to issue 30592: Allow the OB.Dal.save: table 'c_document_sequence' error

---
M src-test/org/openbravo/test/mobile/common/selenium/utils/AllowedErrorsHelper.java
---