Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2021-02-22 08:572021-02-22 09:03
ReporteralostaleView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0045932: OB.MobileApp is used in Business Logic code

DescriptionThere 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
        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 = {
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0044980 closedadrianromero Business layer for retail 
depends on defect 0045933 newalostale local storage obtains appName from OB.MobileApp 
blocks feature request 0044751 newRetail replace enyo with react for UI framework 
Not all the children of this issue are yet resolved or closed.

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker