| Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0038706 | Retail Modules | Web POS | public | 2018-06-05 17:27 | 2018-06-21 09:45 | 
| Reporter | jorge-garcia | ||||
| Assigned To | jorge-garcia | ||||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | RR18Q3 | |||
| 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 | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| 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 | ||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||