Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||||
| 0045932 | Retail Modules | Web POS | public | 2021-02-22 08:57 | 2021-02-22 09:03 | ||||||||||||||||||||||||||
| Reporter | alostale | ||||||||||||||||||||||||||||||
| Assigned To | Retail | ||||||||||||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||||||||||||||
| Status | new | Resolution | open | ||||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||||||||||||||
| Merge Request Status | |||||||||||||||||||||||||||||||
| Review Assigned To | |||||||||||||||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||||
| 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 = { | ||||||||||||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||||
| Attached Files | |||||||||||||||||||||||||||||||
| 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 | OBNetwork customer | => No | ||||||||||||||||||||||||||||
| 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 | ||||||||||||||||||||||||||||
| There are no notes attached to this issue. |