Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034411
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-11-07 13:322017-03-08 18:07
Reporterjorge-garciaView Statuspublic 
Assigned Tomario_castello 
PrioritynormalResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revision08fe2582e89a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034411: [OFFLINE] The modelFunc attribute of a DataSyncModel should be dynamically generated if it's not defined

DescriptionThe modelFunc attribute of a DataSyncModel should be dynamically generated if it's not defined. If not, the offline is broken.
Steps To Reproduce* Install Service Sequence module and it's dependencies

1) Login once in the WebPOS
2) Go offline and do a logout
3) Login again in offline mode
4) A error is shown: Cannot read property 'prototype' of undefined
5) In developers tools type this command: "OB.MobileApp.model.get('dataSyncModels')"
6) A list of object is rendered, navigate through all of them until you get in the "Service Sequence" object. Check the value of "model" is "undefined". This is wrong.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0094518)
hgbot (developer)
2017-02-21 15:21

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 08fe2582e89abf7886c368e3105cb58fc7859e03
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Feb 14 16:51:47 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/08fe2582e89abf7886c368e3105cb58fc7859e03 [^]

Fixed issue 0034411: [OFFLINE] The modelFunc attribute of a DataSyncModel should be dynamically generated if it's not defined

- Added validation to all dataSyncModels defined in POS or external modules
- Create the modelFunc attribute in case that the object has not defined it

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2016-11-07 13:32 jorge-garcia New Issue
2016-11-07 13:32 jorge-garcia Assigned To => Retail
2016-11-07 13:32 jorge-garcia Triggers an Emergency Pack => No
2017-02-14 23:48 mario_castello Assigned To Retail => mario_castello
2017-02-14 23:49 mario_castello Status new => acknowledged
2017-02-14 23:49 mario_castello Status acknowledged => scheduled
2017-02-21 15:21 hgbot Checkin
2017-02-21 15:21 hgbot Note Added: 0094518
2017-02-21 15:21 hgbot Status scheduled => resolved
2017-02-21 15:21 hgbot Resolution open => fixed
2017-02-21 15:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/08fe2582e89abf7886c368e3105cb58fc7859e03 [^]
2017-03-08 18:07 marvintm Review Assigned To => marvintm
2017-03-08 18:07 marvintm Status resolved => closed
2017-03-08 18:07 marvintm Fixed in Version => RR17Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker