Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038706 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-06-05 17:27 | 2018-06-21 09:45 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 5032c616bede | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038706: lastUpdatedTimestamp from models are not correctly remove in some cases | |||||||
Description | In ob-dal.js exists this piece code: OB.UTIL.localStorage.removeItem('POSLastTotalRefresh'); _.forEach(models, function (model) { OB.UTIL.localStorage.removeItem('lastUpdatedTimestamp' + model.modelName); }); The problem is that not all the models has modelName defined, so theitem is never removed in case a full refresh fails | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | The solution is to verify the modelName exists, and, if not, search it into the prototype of the model | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0105024) hgbot (developer) 2018-06-08 08:33 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 5032c616bede6356831215d6957c23dac8a8b6fd Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Wed Jun 06 09:33:37 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5032c616bede6356831215d6957c23dac8a8b6fd [^] Fixed issue 38706: lastUpdatedTimestamp from models are not correctly remove in some cases The solution is to verify the modelName exists, and, if not, search the modelName into the prototype of the model --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-06-05 17:27 | jorge-garcia | New Issue | |
2018-06-05 17:27 | jorge-garcia | Assigned To | => jorge-garcia |
2018-06-05 17:27 | jorge-garcia | OBNetwork customer | => No |
2018-06-05 17:27 | jorge-garcia | Triggers an Emergency Pack | => No |
2018-06-06 10:36 | jorge-garcia | Status | new => scheduled |
2018-06-08 08:33 | hgbot | Checkin | |
2018-06-08 08:33 | hgbot | Note Added: 0105024 | |
2018-06-08 08:33 | hgbot | Status | scheduled => resolved |
2018-06-08 08:33 | hgbot | Resolution | open => fixed |
2018-06-08 08:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5032c616bede6356831215d6957c23dac8a8b6fd [^] |
2018-06-21 09:45 | marvintm | Review Assigned To | => marvintm |
2018-06-21 09:45 | marvintm | Status | resolved => closed |
2018-06-21 09:45 | marvintm | Fixed in Version | => RR18Q3 |
Copyright © 2000 - 2009 MantisBT Group |