Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031046 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Offline Mode | minor | have not tried | 2015-10-05 15:49 | 2015-10-23 16:51 | |||
Reporter | plujan | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 0c3f965527d8 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | Packaging and release | |||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031046: [RR15Q4] Uncaught exception while browsing pending cashups | |||||||
Description | 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 | |||||||
Steps To Reproduce | 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) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
|||||||||||||||
|
![]() |
|
(0080895) hgbot (developer) 2015-10-08 16:56 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: d237f6f364cfbe9f171d663e3edd7cd4a47fe538 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Oct 07 08:47:59 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d237f6f364cfbe9f171d663e3edd7cd4a47fe538 [^] Fixed issue 0031046: [RR15Q4] Uncaught exception while browsing pending cashups - Do not send to message table Cashups without objToSend --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
(0080897) hgbot (developer) 2015-10-08 16:57 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: f0d13fc6928ca0f7445590c5dad8550038fb8d4d Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Oct 07 08:48:51 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f0d13fc6928ca0f7445590c5dad8550038fb8d4d [^] Fixed issue 0031046: [RR15Q4] Uncaught exception while browsing pending cashups - Do not send to message table Cash uos without objToSend --- M web/org.openbravo.retail.posterminal/js/login/model/login-model.js --- |
(0080975) migueldejuana (viewer) 2015-10-13 13:58 |
Backout https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/227c2786d6bf [^] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/af19bf1b8bde [^] |
(0081038) hgbot (developer) 2015-10-15 12:40 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 0c3f965527d803720a19dd5691679b1f89be6727 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Oct 15 12:38:43 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0c3f965527d803720a19dd5691679b1f89be6727 [^] Fixed issue 0031046: [RR15Q4] Uncaught exception while browsing pending cashups - Do not process request without data --- M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js --- |
(0081269) guilleaer (viewer) 2015-10-23 16:51 edited on: 2015-10-26 08:50 |
For me this issue is not working fine in live builds following the steps to reproduce. I have done a cashup to clean Then I have created a order and completed it Then I have gone offline Then I have done a cashup Returning to POS window, When Models to sync popup is opened the system says that there are 2 cashups pending to be sync (https://dl.dropboxusercontent.com/u/27152266/Screenshots/GAL_screenshoot_Selection_149.jpg [^]) and looking at the detail I can see that 2 lines are shown (https://dl.dropboxusercontent.com/u/27152266/Screenshots/GAL_screenshoot_Selection_148.jpg [^]) |
![]() |
|||
Date Modified | Username | Field | Change |
2015-10-05 15:49 | plujan | New Issue | |
2015-10-05 15:49 | plujan | Assigned To | => Retail |
2015-10-05 15:49 | plujan | File Added: RR15Q4_Error.png | |
2015-10-05 15:49 | plujan | OBNetwork customer | => No |
2015-10-05 15:49 | plujan | Regression level | => Packaging and release |
2015-10-05 15:49 | plujan | Triggers an Emergency Pack | => No |
2015-10-05 15:50 | plujan | File Added: RR15Q3.1.png | |
2015-10-05 15:52 | plujan | File Deleted: RR15Q4_Error.png | |
2015-10-05 15:55 | plujan | File Added: RR15Q4_Error.png | |
2015-10-05 17:41 | Orekaria | Target Version | => RR15Q4 |
2015-10-06 12:08 | Orekaria | Status | new => acknowledged |
2015-10-06 12:20 | migueldejuana | Assigned To | Retail => migueldejuana |
2015-10-07 10:37 | migueldejuana | Review Assigned To | => mtaal |
2015-10-07 14:10 | migueldejuana | Status | acknowledged => scheduled |
2015-10-08 16:56 | hgbot | Checkin | |
2015-10-08 16:56 | hgbot | Note Added: 0080895 | |
2015-10-08 16:56 | hgbot | Status | scheduled => resolved |
2015-10-08 16:56 | hgbot | Resolution | open => fixed |
2015-10-08 16:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d237f6f364cfbe9f171d663e3edd7cd4a47fe538 [^] |
2015-10-08 16:57 | hgbot | Checkin | |
2015-10-08 16:57 | hgbot | Note Added: 0080897 | |
2015-10-08 16:57 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d237f6f364cfbe9f171d663e3edd7cd4a47fe538 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f0d13fc6928ca0f7445590c5dad8550038fb8d4d [^] |
2015-10-13 13:58 | migueldejuana | Note Added: 0080975 | |
2015-10-13 13:58 | migueldejuana | Status | resolved => new |
2015-10-13 13:58 | migueldejuana | Resolution | fixed => open |
2015-10-13 16:42 | migueldejuana | File Added: issue31046.diff | |
2015-10-13 17:54 | Orekaria | Target Version | RR15Q4 => |
2015-10-15 12:40 | hgbot | Checkin | |
2015-10-15 12:40 | hgbot | Note Added: 0081038 | |
2015-10-15 12:40 | hgbot | Status | new => resolved |
2015-10-15 12:40 | hgbot | Resolution | open => fixed |
2015-10-15 12:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f0d13fc6928ca0f7445590c5dad8550038fb8d4d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0c3f965527d803720a19dd5691679b1f89be6727 [^] |
2015-10-22 11:38 | marvintm | Review Assigned To | mtaal => marvintm |
2015-10-22 11:38 | marvintm | Status | resolved => closed |
2015-10-22 11:38 | marvintm | Fixed in Version | => RR16Q1 |
2015-10-22 13:23 | migueldejuana | Relationship added | related to 0031047 |
2015-10-23 16:51 | guilleaer | Note Added: 0081269 | |
2015-10-26 08:50 | guilleaer | Note Edited: 0081269 | View Revisions |
Copyright © 2000 - 2009 MantisBT Group |