Openbravo Issue Tracking System - Retail Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0045281 | Retail Modules | Web POS | public | 2020-10-22 14:10 | 2020-10-23 09:15 |
|
| Reporter | alostale | |
| Assigned To | alostale | |
| Priority | normal | Severity | major | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | RR21Q1 | |
| Merge Request Status | approved |
| 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 | 0045281: infinite loop in OB.error when used in core2 |
| Description | When OB.error/OB.warn apis are used in a core2 app, the application gets frozen due to an infinite loop. |
| Steps To Reproduce | 1. log into pos2
2. in dev tools execute: OB.error('some error')
-> ERROR: infinite loop |
| Proposed Solution | The problem is caused by ob-log.js flattenArray function using underscore which is not a dependency for BL. It can be replaced by lodash. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0045085 | | closed | jarmendariz | Missing logging utilities in Business Logic |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2020-10-22 14:10 | alostale | New Issue | |
| 2020-10-22 14:10 | alostale | Assigned To | => Retail |
| 2020-10-22 14:10 | alostale | OBNetwork customer | => No |
| 2020-10-22 14:10 | alostale | Triggers an Emergency Pack | => No |
| 2020-10-22 14:10 | alostale | Assigned To | Retail => alostale |
| 2020-10-22 14:20 | alostale | Relationship added | related to 0045085 |
| 2020-10-22 14:25 | hgbot | Merge Request Status | => open |
| 2020-10-22 14:25 | hgbot | Note Added: 0123868 | |
| 2020-10-22 16:11 | hgbot | Merge Request Status | open => approved |
| 2020-10-23 09:15 | hgbot | Resolution | open => fixed |
| 2020-10-23 09:15 | hgbot | Status | new => closed |
| 2020-10-23 09:15 | hgbot | Fixed in Version | => RR21Q1 |
| 2020-10-23 09:15 | hgbot | Note Added: 0123898 | |
| 2020-10-23 09:15 | hgbot | Note Added: 0123899 | |