Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039435 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | random | 2018-10-11 10:23 | 2019-03-04 08:42 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 309b21f1b99e | ||||
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 | ||||||||
Review Assigned To | jorge-garcia | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039435: Javascript error when a keyup event is fired without key information | |||||||
Description | Under unknown circumstances, the WebPOS starts firing keyup events randomly on the focusKeeper, simply by clicking on application buttons (i.e. Create New Receipt). These events have no associated key information, which causes javascript errors in the globalKeypressHandler function. | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Attached a patch that adds a small sanity check in the globalKeypressHandler function to return if this error is reproduced again | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0110100) hgbot (developer) 2019-02-27 10:10 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 6a974c2459ca8a5fc7998e312fe3de7ff96dc919 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Feb 27 14:38:52 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6a974c2459ca8a5fc7998e312fe3de7ff96dc919 [^] Fixed issue 39435 : Prevent Keypress handler functionality if key value is not presents --- M web/org.openbravo.mobile.core/source/component/ob-keyboard.js --- |
(0110124) jorge-garcia (viewer) 2019-02-28 16:05 |
The solution is correct, but there was a previous commit which "almost fix" the problem reported here (see related issue). It's better to don't check the same thing twice. So I attached two possible patches that could be applied. IMHO I prefer option I39435_v2-1.diff over option I39435_v2-2.diff |
(0110161) hgbot (developer) 2019-03-02 11:44 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 309b21f1b99ee13d6ae75595c0161d5d15f63b39 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Sat Mar 02 16:14:10 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/309b21f1b99ee13d6ae75595c0161d5d15f63b39 [^] Fixed issue 39435 : Prevent Keypress handler functionality if key value is not presents --- M web/org.openbravo.mobile.core/source/component/ob-keyboard.js --- |
(0110171) jorge-garcia (viewer) 2019-03-04 08:42 |
Code reviewed and tested |
![]() |
|||
Date Modified | Username | Field | Change |
2018-10-11 10:23 | aaroncalero | New Issue | |
2018-10-11 10:23 | aaroncalero | Assigned To | => Retail |
2018-10-11 10:23 | aaroncalero | OBNetwork customer | => No |
2018-10-11 10:23 | aaroncalero | Triggers an Emergency Pack | => No |
2018-10-11 10:26 | aaroncalero | File Added: Issue39435.export | |
2019-02-26 10:05 | marvintm | OBNetwork customer | No => Gold |
2019-02-26 10:05 | marvintm | Resolution time | => 1552950000 |
2019-02-26 15:14 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-02-27 10:09 | ranjith_qualiantech_com | Status | new => scheduled |
2019-02-27 10:10 | hgbot | Checkin | |
2019-02-27 10:10 | hgbot | Note Added: 0110100 | |
2019-02-27 10:10 | hgbot | Status | scheduled => resolved |
2019-02-27 10:10 | hgbot | Resolution | open => fixed |
2019-02-27 10:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6a974c2459ca8a5fc7998e312fe3de7ff96dc919 [^] |
2019-02-28 15:51 | jorge-garcia | Relationship added | related to 0039899 |
2019-02-28 16:05 | jorge-garcia | Note Added: 0110124 | |
2019-02-28 16:05 | jorge-garcia | Status | resolved => new |
2019-02-28 16:05 | jorge-garcia | Resolution | fixed => open |
2019-02-28 16:06 | jorge-garcia | File Added: I39435_v2-1.diff | |
2019-02-28 16:06 | jorge-garcia | File Added: I39435_v2-2.diff | |
2019-02-28 16:07 | jorge-garcia | Review Assigned To | => jorge-garcia |
2019-03-01 14:38 | ranjith_qualiantech_com | Status | new => scheduled |
2019-03-02 11:44 | hgbot | Checkin | |
2019-03-02 11:44 | hgbot | Note Added: 0110161 | |
2019-03-02 11:44 | hgbot | Status | scheduled => resolved |
2019-03-02 11:44 | hgbot | Resolution | open => fixed |
2019-03-02 11:44 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/6a974c2459ca8a5fc7998e312fe3de7ff96dc919 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/309b21f1b99ee13d6ae75595c0161d5d15f63b39 [^] |
2019-03-04 08:42 | jorge-garcia | Note Added: 0110171 | |
2019-03-04 08:42 | jorge-garcia | Status | resolved => closed |
2019-03-04 08:42 | jorge-garcia | Fixed in Version | => RR19Q2 |
Copyright © 2000 - 2009 MantisBT Group |