Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045655 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | critical | have not tried | 2020-12-28 16:04 | 2021-10-25 16:06 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q1 | |||
Status | closed | 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 | |||||||
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 | 0045655: 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|||||||||||||||||||||||||||||
|
![]() |
|
(0125118) hgbot (developer) 2020-12-29 07:23 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/118 [^] |
(0125119) hgbot (developer) 2020-12-29 07:42 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/118 [^] |
(0125120) hgbot (developer) 2020-12-29 07:42 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: 7e1c050a3af39643c00724a4890562439f2f07fc Author: Ranjith S R <ranjith@qualiantech.com> Date: 2020-12-29T07:15:31+05:30 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/7e1c050a3af39643c00724a4890562439f2f07fc [^] Fixed ISSUE-45655: Replace Object validation with Backbone instance when cloning object --- M web/org.openbravo.mobile.core/source/utils/ob-utilities.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2020-12-28 16:04 | marvintm | New Issue | |
2020-12-28 16:04 | marvintm | Assigned To | => ranjith_qualiantech_com |
2020-12-28 16:04 | marvintm | OBNetwork customer | => No |
2020-12-28 16:04 | marvintm | Triggers an Emergency Pack | => No |
2020-12-28 16:04 | marvintm | Status | new => scheduled |
2020-12-29 07:23 | hgbot | Merge Request Status | => open |
2020-12-29 07:23 | hgbot | Note Added: 0125118 | |
2020-12-29 07:42 | hgbot | Merge Request Status | open => approved |
2020-12-29 07:42 | hgbot | Resolution | open => fixed |
2020-12-29 07:42 | hgbot | Status | scheduled => closed |
2020-12-29 07:42 | hgbot | Note Added: 0125119 | |
2020-12-29 07:42 | hgbot | Fixed in Version | => RR21Q1 |
2020-12-29 07:42 | hgbot | Note Added: 0125120 | |
2021-07-26 17:05 | adrianromero | Relationship added | related to 0047393 |
2021-07-26 17:05 | adrianromero | Relationship deleted | related to 0047393 |
2021-07-26 17:06 | adrianromero | Relationship added | blocks 0047453 |
2021-07-26 17:06 | adrianromero | Relationship deleted | blocks 0047453 |
2021-07-26 17:06 | adrianromero | Relationship added | related to 0047453 |
2021-07-28 10:25 | ranjith_qualiantech_com | Relationship added | related to 0047463 |
2021-10-25 16:06 | ranjith_qualiantech_com | File Added: 45655_18Q3_mobilecore.diff |
Copyright © 2000 - 2009 MantisBT Group |