Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031084Retail ModulesOffline Modepublic2015-10-05 15:492015-10-26 10:37
plujan 
marvintm 
normalminorhave not tried
closedfixed 
5
main 
RR15Q4RR15Q4 
guilleaer
Packaging and release
No
0031084: [RR15Q4] Uncaught exception while browsing pending cashups
While creating a cashup in offline mode, the data is kept pending to synchronise until connection is back.
Browsing the data pending to synchronise shows an uncaught exception "Type Error: Cannot Read property 'creationDate' of undefined"
This flow is working fine in RR15Q3.1
1. Login online as vallblanca user
2. Unplug the network cable to get no Internet connection
3. From the top-left menu, choose Cash Up
4. Add some money to Cash, and continue till the end of the process
5. After the success message, since we are offline, the data will be kept to later synchronise.
6. Click the to left menu and seek for the "pending to synchronise" option
7. A pop up will open, showing a Cash Up. Click the record.
8. [Expected] A date identifying the Cash Up (see attached screenshot of RRQ3.1)
   [Got] An uncaugt exception "TypeError: Cannot read property 'creationDate' of undefined (see attched screenshot of RRQ4)
No tags attached.
blocks defect 0031046 closed migueldejuana [RR15Q4] Uncaught exception while browsing pending cashups 
Issue History
2015-10-07 14:10migueldejuanaTypedefect => backport
2015-10-22 11:38hgbotCheckin
2015-10-22 11:38hgbotNote Added: 0081195
2015-10-22 11:38hgbotStatusscheduled => resolved
2015-10-22 11:38hgbotResolutionopen => fixed
2015-10-22 11:38hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/4a60b48748f8dff7377095c465f4f7eeb26b5db9 [^]
2015-10-22 11:39marvintmAssigned Tomigueldejuana => marvintm
2015-10-23 16:42guilleaerNote Added: 0081268
2015-10-23 16:42guilleaerStatusresolved => new
2015-10-23 16:42guilleaerResolutionfixed => open
2015-10-26 10:36guilleaerStatusnew => scheduled
2015-10-26 10:36guilleaerStatusscheduled => resolved
2015-10-26 10:36guilleaerFixed in Version => RR15Q4
2015-10-26 10:36guilleaerResolutionopen => fixed
2015-10-26 10:37guilleaerReview Assigned Tomtaal => guilleaer
2015-10-26 10:37guilleaerNote Added: 0081300
2015-10-26 10:37guilleaerStatusresolved => closed

Notes
(0081195)
hgbot   
2015-10-22 11:38   
Repository: retail/backports/3.0RR15Q4/org.openbravo.mobile.core
Changeset: 4a60b48748f8dff7377095c465f4f7eeb26b5db9
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 11:34:57 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/4a60b48748f8dff7377095c465f4f7eeb26b5db9 [^]

Fixed issue 31084. [RR15Q4] Uncaught exception while browsing pending cashups

- Do not process request without data

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0081268)
guilleaer   
2015-10-23 16:42   
The fix is not working as expected.

following the steps to reproduce 2 cashups appears as pending to sync but I have just done one cashup. Apart from that no dates are shown in the popup but cashup_ids are shown.

Screenshot: https://dl.dropboxusercontent.com/u/27152266/Screenshots/GAL_screenshoot_Selection_148.jpg [^]
(0081300)
guilleaer   
2015-10-26 10:37   
Closed but new issue will be created reporting problems

Following the steps to reproduce 2 cashups appears as pending to sync but I have just done one cashup. Apart from that no dates are shown in the popup but cashup_ids are shown.

Screenshot: https://dl.dropboxusercontent.com/u/27152266/Screenshots/GAL_screenshoot_Selection_148.jpg [^] [^]