Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0045656 | Retail Modules | Web POS | public | 2020-12-28 16:04 | 2020-12-29 08:12 | |||||||
| Reporter | marvintm | |||||||||||
| Assigned To | ranjith_qualiantech_com | |||||||||||
| Priority | normal | Severity | critical | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | RR20Q4.1 | Fixed in Version | RR20Q4.1 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | marvintm | |||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0045656: WebPOS fails with Chrome v89, because of new .at() function in Strings | |||||||||||
| Description | In Chrome v89, the String prototype has a new at() function. This is a problem with the current implementation of the WebPOS, because the .at function is used to distinguish between Backbone collections and other types of objects. | |||||||||||
| Steps To Reproduce | Using Chrome Dev branch, log in the WebPOS. Realise the following Javascript error is raised: Uncaught (in promise) TypeError: clonedObject.get(...).reset is not a function at 54efdf8ddc7966329ee58389bd8dd37b.js:14770 at Array.forEach (<anonymous>) at Function.b.each.b.forEach (underscore-1.3.3.min.js:11) at cloneRecursively (54efdf8ddc7966329ee58389bd8dd37b.js:14762) at Object.OB.UTIL.clone (54efdf8ddc7966329ee58389bd8dd37b.js:14849) at G.d.clearWith (54efdf8ddc7966329ee58389bd8dd37b.js:66024) at Object.OB.UTIL.TicketUtils.loadAndSyncTicketFromState (54efdf8ddc7966329ee58389b | |||||||||||
| Proposed Solution | Instead of checking the .at() function, it should be checked whether the object is instance of Backbone.Collection. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-12-28 16:04 | marvintm | Type | defect => backport | |||||||||
| 2020-12-28 16:04 | marvintm | Target Version | => RR20Q4.1 | |||||||||
| 2020-12-29 07:47 | hgbot | Resolution | open => fixed | |||||||||
| 2020-12-29 07:47 | hgbot | Status | scheduled => resolved | |||||||||
| 2020-12-29 07:47 | hgbot | Fixed in Version | => RR20Q4.1 | |||||||||
| 2020-12-29 07:47 | hgbot | Note Added: 0125121 | ||||||||||
| 2020-12-29 08:12 | marvintm | Review Assigned To | => marvintm | |||||||||
| 2020-12-29 08:12 | marvintm | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||