Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0052486 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | sometimes | 2023-05-18 23:57 | 2023-05-22 08:34 | |||
Reporter | axelmercado | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR23Q3 | |||
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 | OBPS | |||||||
Support ticket | 64736 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0052486: Problem with ISSUE 50603 change: If the line has no product, then it fails in custom customer modules. | |||||||
Description | We have seen that in one of the new updates you have added the following in the ob-keyboard.js file: if (actualChar && actualChar.match(this.keyMatcher)) { const hasGroupedProduct = this.line ? this.line.get('product').get('groupProduct') : true; if ((actualChar === '+' || actualChar === '-') && hasGroupedProduct) { The problem is that we have our own module that uses the globalKeypressHandler and when pressing a key it gives error because in the this.line the product attribute does not exist. | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | To solve it we have added the attached .diff, this way we ensure that if this attribute does not exist it does not give error. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0150006) hgbot (developer) 2023-05-21 16:35 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/526 [^] |
(0150035) hgbot (developer) 2023-05-22 08:34 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/526 [^] |
(0150036) hgbot (developer) 2023-05-22 08:34 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: d56346627516611900bfdd342678a286b306eadc Author: Ranjith S R <ranjith@qualiantech.com> Date: 20-05-2023 15:33:43 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d56346627516611900bfdd342678a286b306eadc [^] Fixed ISSUE-52486: Added line validation in the global keypress event handler --- M web/org.openbravo.mobile.core/source/component/ob-keyboard.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2023-05-18 23:57 | axelmercado | New Issue | |
2023-05-18 23:57 | axelmercado | Assigned To | => Retail |
2023-05-18 23:57 | axelmercado | File Added: ob-keyboard.diff | |
2023-05-18 23:57 | axelmercado | OBNetwork customer | => OBPS |
2023-05-18 23:57 | axelmercado | Support ticket | => 64736 |
2023-05-18 23:57 | axelmercado | Triggers an Emergency Pack | => No |
2023-05-18 23:57 | axelmercado | Relationship added | caused by 0050603 |
2023-05-19 07:06 | Practics | Issue Monitored: Practics | |
2023-05-20 11:38 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2023-05-20 11:38 | ranjith_qualiantech_com | Status | new => scheduled |
2023-05-21 16:35 | hgbot | Merge Request Status | => open |
2023-05-21 16:35 | hgbot | Note Added: 0150006 | |
2023-05-22 08:34 | hgbot | Merge Request Status | open => approved |
2023-05-22 08:34 | hgbot | Resolution | open => fixed |
2023-05-22 08:34 | hgbot | Status | scheduled => closed |
2023-05-22 08:34 | hgbot | Note Added: 0150035 | |
2023-05-22 08:34 | hgbot | Fixed in Version | => RR23Q3 |
2023-05-22 08:34 | hgbot | Note Added: 0150036 |
Copyright © 2000 - 2009 MantisBT Group |