Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026062Retail ModulesWeb POSpublic2014-03-21 15:372014-08-11 04:49
emartinez 
adrianromero 
urgentmajoralways
closedfixed 
5
 
RR14Q4RR14Q4 
szapata
No
0026062: Pending tickets (not paid) are deleted when connection is restored
When working offline and having several tickets pending (and not paid), when connection is restored, it appears the pop-up that warns me that I need to log-out but pending tickets will be saved. However, after clicking accept and logging again, the tickets are lost.
1. Work offline: create a ticket, add some lines, click on new, (without paying the previous one) and add some more news.
2. Then restore the connection, you will see the pop-up appears and click Accept
3. Log again and see the two tickets you were working on have been dissappeared
No tags attached.
related to defect 0027270 closed Osmany After starting tomcat, several phantom tickets are created 
Issue History
2014-03-21 15:37emartinezNew Issue
2014-03-21 15:37emartinezAssigned To => marvintm
2014-03-21 15:37emartinezTriggers an Emergency Pack => No
2014-05-15 14:55malsasuaTarget Version => RR14Q3
2014-06-24 16:08marvintmSeveritycritical => major
2014-06-25 14:04adrianromeroAssigned Tomarvintm => adrianromero
2014-06-25 14:04adrianromeroStatusnew => scheduled
2014-06-25 14:04adrianromerofix_in_branch => pi
2014-06-26 14:10hgbotCheckin
2014-06-26 14:10hgbotNote Added: 0068347
2014-06-26 14:10hgbotStatusscheduled => resolved
2014-06-26 14:10hgbotResolutionopen => fixed
2014-06-26 14:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fa1e188c4d2f86278e0886937ef8310c821281de [^]
2014-06-26 14:17adrianromeroReview Assigned To => marvintm
2014-06-26 14:17adrianromerofix_in_branchpi =>
2014-06-27 13:55OrekariaNote Added: 0068407
2014-06-27 13:55OrekariaStatusresolved => new
2014-06-27 13:55OrekariaResolutionfixed => open
2014-06-30 10:21mtaalTarget VersionRR14Q3 => RR14Q4
2014-07-14 09:19adrianromeroStatusnew => scheduled
2014-07-14 09:19adrianromerofix_in_branch => pi
2014-07-14 13:30hgbotCheckin
2014-07-14 13:30hgbotNote Added: 0068617
2014-07-14 13:30hgbotStatusscheduled => resolved
2014-07-14 13:30hgbotResolutionopen => fixed
2014-07-14 13:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fa1e188c4d2f86278e0886937ef8310c821281de [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cdced5d58eb8fdc2eea14b55d3da7a544fd04dc6 [^]
2014-07-14 13:31adrianromeroReview Assigned Tomarvintm => Orekaria
2014-07-14 13:31adrianromerofix_in_branchpi =>
2014-07-17 11:03OrekariaNote Added: 0068692
2014-07-17 11:03OrekariaStatusresolved => new
2014-07-17 11:03OrekariaResolutionfixed => open
2014-08-04 11:17adrianromeroRelationship addedrelated to 0027270
2014-08-04 11:18adrianromeroStatusnew => scheduled
2014-08-04 11:18adrianromerofix_in_branch => pi
2014-08-04 11:19adrianromeroNote Added: 0069062
2014-08-04 11:19adrianromeroStatusscheduled => resolved
2014-08-04 11:19adrianromeroFixed in Version => RR14Q4
2014-08-04 11:19adrianromeroResolutionopen => fixed
2014-08-11 04:49szapataReview Assigned ToOrekaria => szapata
2014-08-11 04:49szapataStatusresolved => closed

Notes
(0068347)
hgbot   
2014-06-26 14:10   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fa1e188c4d2f86278e0886937ef8310c821281de
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 26 14:09:14 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fa1e188c4d2f86278e0886937ef8310c821281de [^]

Fixes issue 0026062: Pending tickets (not paid) are deleted when connection is restored
Now, in the case it is required to force a logout when connection is restored, the terminal is locked instead of logged out. This prevents tickets to be lost

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0068407)
Orekaria   
2014-06-27 13:55   
Not fixed.

Test done in retail.posterminal rev. 3691
- login with vallblanca
- create a ticket (dont pay)
- shutdown tomcat
- create another ticket (dont pay)
- start tomcat
- wait until the message that the connection is retored
- click relogin message
- login again
- tickets have dissapeared
(0068617)
hgbot   
2014-07-14 13:30   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: cdced5d58eb8fdc2eea14b55d3da7a544fd04dc6
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Jul 14 13:29:40 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/cdced5d58eb8fdc2eea14b55d3da7a544fd04dc6 [^]

Fixes issue 0026062: Pending tickets (not paid) are deleted when connection is restored
Adding missing cases when a connection is restored.

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-modalonline.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0068692)
Orekaria   
2014-07-17 11:03   
After starting tomcat, several phantom tickets are created
(0069062)
adrianromero   
2014-08-04 11:19   
A new error has been created: 0027270. To describe the new issue that appears following the same reproduction steps.