Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0045932 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | have not tried | 2021-02-22 08:57 | 2021-02-22 09:03 | |||||||
Reporter | alostale | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045932: OB.MobileApp is used in Business Logic code | |||||||||||
Description | There is still a few cases where Business Logic code is making use of OB.MobileApp, this is legacy code that should only be used in enyo's UI part. | |||||||||||
Steps To Reproduce | * With pos2, generate business logic bundle * Check occurrences of OB.MobileApp -> there should no be any occurrence grep "OB.MobileApp" web-jspack/org.openbravo.core2/src/generated/POS2.js OB.MobileApp.model.get('context').role.id if (OB.MobileApp.model.hasPermission(approvalType, true)) { } else if (OB.MobileApp && OB.MobileApp.model) { return OB.MobileApp.model.get('appName'); if (OB.MobileApp.model[property] !== undefined) { return OB.MobileApp.model[property]; return OB.MobileApp.model.get(property); return OB.MobileApp.model.hasPermission(preference, true); OB.MobileApp.view.waterfall('onShowPopup', { OB.MobileApp = { | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2021-02-22 08:57 | alostale | New Issue | |
2021-02-22 08:57 | alostale | Assigned To | => Retail |
2021-02-22 08:57 | alostale | Triggers an Emergency Pack | => No |
2021-02-22 08:57 | alostale | Relationship added | blocks 0044751 |
2021-02-22 09:01 | alostale | Relationship added | related to 0044980 |
2021-02-22 09:03 | alostale | Summary | don't use OB.MobileApp in Business Logic code => OB.MobileApp is used in Business Logic code |
2021-02-22 09:07 | alostale | Relationship added | depends on 0045933 |
Copyright © 2000 - 2009 MantisBT Group |