Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0031341 | Retail Modules | Web POS | public | 2015-11-03 16:53 | 2015-12-04 16:04 | |||||||||||||||||||||
Reporter | guilleaer | |||||||||||||||||||||||||
Assigned To | guilleaer | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | RR16Q1 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | marvintm | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0031341: Suddenly incremental refresh is not working because lastUpdatedTimestamp becomes "null" | |||||||||||||||||||||||||
Description | Suddenly incremental refresh is not working because lastUpdatedTimestamp becomes "null" When this situation happens, server side components (models) raise an exception like that: Error when generating query: null (JSONObject["lastUpdated"] is not a number.) org.codehaus.jettison.json.JSONException: JSONObject["lastUpdated"] is not a number. Because we are trying to process the word "null" as a number. In the client side we are also generating 2 log messages per each failed request: serviceSuccess error: status: -1, error.message: JSONObject["lastUpdated"] is not a number.; stackTrace: serviceSuccess (http://79.125.89.90/openbravo/web/js/gen/79cdf4b98f1dc68c16f37bb80ef63806_WebPOS.js:41:4 [^]);Object.enyo.Ajax.success (http://79.125.89.90/openbravo/web/js/gen/79cdf4b98f1dc68c16f37bb80ef63806_WebPOS.js:55:489 [^]);Object.enyo.call (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:335:28 [^]);Object.enyo.kind.handle (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:889:14 [^]);Object.enyo.kind.respond (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:903:41 [^]);Object.enyo.kind.receive (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:1034:97 [^]);XMLHttpRequest.e.onreadystatechange (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:962:24 [^]) Error in datasource: [object Object]; stackTrace: http://79.125.89.90/openbravo/web/js/gen/79cdf4b98f1dc68c16f37bb80ef63806_WebPOS.js:75:23;serviceSuccess [^] (http://79.125.89.90/openbravo/web/js/gen/79cdf4b98f1dc68c16f37bb80ef63806_WebPOS.js:45:103 [^]);Object.enyo.Ajax.success (http://79.125.89.90/openbravo/web/js/gen/79cdf4b98f1dc68c16f37bb80ef63806_WebPOS.js:55:489 [^]);Object.enyo.call (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:335:28 [^]);Object.enyo.kind.handle (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:889:14 [^]);Object.enyo.kind.respond (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:903:41 [^]);Object.enyo.kind.receive (http://79.125.89.90/openbravo/web/org.openbravo.mobile.core/build/enyo.js:1034:97 [^]) | |||||||||||||||||||||||||
Steps To Reproduce | Currently we don't have steps to reproduce the issue | |||||||||||||||||||||||||
Proposed Solution | 1st step Servlets should check at the begining of the process that the value received for "lastUpdated" is valid. It will stop the creation of exceptions but will provoque a full refresh when it happens 2nd step Try to understand why at some point the value of lastUpdatedTimestamp becomes "null" | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2015-11-03 16:53 | guilleaer | New Issue | ||||||||||||||||||||||||
2015-11-03 16:53 | guilleaer | Assigned To | => Retail | |||||||||||||||||||||||
2015-11-03 16:53 | guilleaer | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2015-11-03 16:54 | guilleaer | Status | new => scheduled | |||||||||||||||||||||||
2015-11-04 09:03 | hgbot | Checkin | ||||||||||||||||||||||||
2015-11-04 09:03 | hgbot | Note Added: 0081461 | ||||||||||||||||||||||||
2015-11-04 09:03 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2015-11-04 09:03 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2015-11-04 09:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d9ee10401fc746a11bd7c7938fe784298fb06fa1 [^] | |||||||||||||||||||||||
2015-11-04 14:01 | hgbot | Checkin | ||||||||||||||||||||||||
2015-11-04 14:01 | hgbot | Note Added: 0081479 | ||||||||||||||||||||||||
2015-11-06 10:03 | hgbot | Checkin | ||||||||||||||||||||||||
2015-11-06 10:03 | hgbot | Note Added: 0081544 | ||||||||||||||||||||||||
2015-11-16 13:36 | marvintm | Assigned To | Retail => guilleaer | |||||||||||||||||||||||
2015-11-18 15:50 | guilleaer | Review Assigned To | => marvintm | |||||||||||||||||||||||
2015-12-01 21:21 | hgbot | Checkin | ||||||||||||||||||||||||
2015-12-01 21:21 | hgbot | Note Added: 0082503 | ||||||||||||||||||||||||
2015-12-01 21:29 | guilleaer | Relationship added | related to 0031635 | |||||||||||||||||||||||
2015-12-04 16:04 | marvintm | Status | resolved => closed | |||||||||||||||||||||||
2015-12-04 16:04 | marvintm | Fixed in Version | => RR16Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|