Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039899Retail ModulesWeb POSpublic2019-01-09 16:222019-11-13 16:12
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR19Q2RR19Q2 
marvintm
No
0039899: Under certain circumstances error is shown by globalKeypressHandler
globalKeypressHandler raise an error because key (inEvent.keyboardEvent.key) is null

TypeError: Cannot read property 'match' of undefined
    at Object.enyo.kind.globalKeypressHandler (https://rolcar.cloud.openbravo.com/openbravo/web/js/gen/a5c68356455453129dc0f7ede1851f64.js:924:62 [^])
    at Object.enyo.kind.dispatch (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:628:17 [^])
    at Object.enyo.kind.dispatchEvent (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:612:30 [^])
    at Object.enyo.kind.inherited (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:410:28 [^])
    at Object.enyo.kind.dispatchEvent (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:1338:78 [^])
    at Object.enyo.kind.waterfall (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/build/enyo.js:631:10 [^])
    at https://rolcar.cloud.openbravo.com/openbravo/web/js/gen/a5c68356455453129dc0f7ede1851f64.js:390:310 [^]
    at Array.forEach (native)
    at Function.b.each.b.forEach (https://rolcar.cloud.openbravo.com/openbravo/web/org.openbravo.mobile.core/lib/vendor/underscore-1.3.3.min.js:11:39 [^])
    at Object.enyo.kind.keeperKey (https://rolcar.cloud.openbravo.com/openbravo/web/js/gen/a5c68356455453129dc0f7ede1851f64.js:390:259 [^]); stackTrace: Object.OB.UTIL.showError (https://rolcar.cloud.openbravo.com/openbravo/web/js/gen/a5c68356455453129dc0f7ede1851f64.js:689:1508 [^]);
window.onerror (https://rolcar.cloud.openbravo.com/openbravo/web/js/gen/a5c68356455453129dc0f7ede1851f64.js:1344:53 [^])
 
 [Human Action Log]:
1.- [10:04:01.122] 'AbarruetaabriseoAcamargoAcavazosBadrianaBbravogCgaonaCgilcgdiazclhurtadoDmoralesEcuahutencosEgallardoEencinasElopezErrodriguezFlopezFesquivelFsantiagoAdminHzu�igaJaguirreJalfaroJbibianJcruzesJdiazpJescalanteJfriasJhernandezaJmontesjuradoahernandezgilJnavarroJsalazargJsalazarguJsandovaljrosalesJgarciaKcortezsKmaciasLmoralesmLmarquezLramirezlgalvanmalcantaraGutierrez Gomez MaribelMgramirezMalanisMperezMtzmarquezMzavalaNnu�ezNvalleOscar Raudel �valos Hern�ndezOfloresOscar Guerrero LopezPrueba1Rdue�asgSlopezVgarciaaVguerrerovWebservice' in context: 'containerWindow_login_loginUserContainer'
2.- [10:04:01.548] 'Jdiazp' in context: 'ow_login_loginUserContainer_userButton26'
3.- [10:04:09.059] 'OK' in context: 'opup_bodyButtons_confirmationPopup_btnOk'
4.- [10:04:10.439] 'password' in context: 'terminal_containerWindow_login_password'
5.- [10:04:11.818] 'Log In' in context: 'rminal_containerWindow_login_loginButton'
6.- [10:50:55.058] '�WebPOS Application Locked' in context: 'ntainer_dynamicConfirmationPopup_control'
7.- [10:50:58.115] '10:5021-12-2018Bienvenido a Openbravo TPVDeshacerDebug(Sin categor�a)Ha alcanzado el l�mite de datos. Por favor, acorte la sentencia.Sin resultadosCategor�asHa alcanzado el l�mite de datos. Por favor, acorte la sentencia.Loading categories ...ArmadoraModeloA�oSistemaMotorSubsistemaLinea Gen�ricaLinea EspecificaMarcaLimpiar FiltrosHa alcanzado el l�mite de datos. Por favor, acorte la sentencia.Sin resultadosCargando...$0.00 pendiente de pagar. cambio. pago en exceso. Pagada la cantidad exacta.El total es cero. No se requiere pagarHa alcanzado el l�mite de datos. Por favor, acorte la sentencia.Ha alcanzado el l�mite de datos. Por favor, acorte la sentencia.No hay suficiente dinero en efectivo disponible.Change amount is over the limit for this payment methodOverpayment not availableOverpayment exceded limit.Only cash payment methods are allowed to return change.There are lines missing to set the attribute valueHechoPagar a cr�ditoArticulo reservadoDescuentoSobreescribirAplicar a todas las lineasAplicarCancelarEliminarDescripci�nDevolver LineaSplit-Borrar descuentoComprobar el stockAttributesSelecione una raz�n de devolucionDevoluci�n por Carcajes (Acumuladores, Marchas, AlternadoresDevoluci�n por EmbargoDevoluci�n por Error Cat�logo Electr�nicoDevoluci�n por Error en Pedido AgenteDevoluci�n por Error en Pedido ClienteDevoluci�n por Error en Pedido Tele marketingDevoluci�n por Error Surtido y/o empacadoDevoluci�n por Precio AltoDevoluci�n por Productos DefectuososDevoluci�n por (SEF) S� existencia en Sistema No existenciaDescripci�nReturn ReasonCantidadPrice std.PrecioDescuentoTotalAlmac�nAbastos MTYNo hay ninguna l�nea seleccionadaChequeDep�sitoEfectivoTarjeta BancariaM�s...$,$,$,...SKU/*%7894561230./*%205010025100.200.5010.010.050.10?+CANTIDADPRECIODESCUENTODESCUENTO-+' in context: 'intOfSale_multiColumn_rightPanel_control'
8.- [10:50:58.479] 'BUSCAR' in context: 'theButton_toolbarBtnSearchCharacteristic'
9.- [10:50:58.898] 'BUSCAR' in context: 'theButton_toolbarBtnSearchCharacteristic'
10.- [10:51:57.579] 'Banda Automotriz Gates Pieza243.70K060708' in context: 'products_tbody_control3_newRenderProduct'
11.- [10:54:35.494] 'productFilterText' in context: 'ctCharacteristicHeader_productFilterText'
12.- [10:54:43.076] 'Bujia Est�ndar Champion Pieza22.74L-92Y' in context: 'roducts_tbody_control10_newRenderProduct'
13.- [10:55:38.385] 'control4' in context: 'archProductCharacteristicHeader_control4'
14.- [10:55:38.601] 'smallButton' in context: 'hProductCharacteristicHeader_smallButton'
15.- [10:55:38.911] 'productFilterText' in context: 'ctCharacteristicHeader_productFilterText'
16.- [10:55:43.417] 'Purificador SM Pieza28.51EFI-VW = HO-590' in context: 'roducts_tbody_control11_newRenderProduct'
17.- [10:55:44.495] 'A�adir al pedido' in context: 'ftSubWindowBody_body_productAddToReceipt'
18.- [10:55:45.652] 'smallButton' in context: 'hProductCharacteristicHeader_smallButton'
19.- [10:55:45.758] 'productFilterText' in context: 'ctCharacteristicHeader_productFilterText'
20.- [10:55:55.928] 'Bujia Est�ndar Champion Pieza22.74L-92Y' in context: 'roducts_tbody_control13_newRenderProduct'
21.- [10:55:56.949] 'A�adir al pedido' in context: 'ftSubWindowBody_body_productAddToReceipt'
22.- [10:55:58.281] 'Bujia Est�ndar Champion Pieza122.7422.74L-92Y' in context: 'derLines_tbody_control2_renderOrderLine3'
23.- [10:55:59.782] '4' in context: 'dcontainer_keypadBasic_keypadBtn4_button'
24.- [10:56:00.235] 'CANTIDAD' in context: 'Column_rightPanel_keyboard_btnQty_button'
25.- [10:56:03.359] 'BUSCAR' in context: 'theButton_toolbarBtnSearchCharacteristic'
26.- [10:56:09.416] 'Aceite 15W40 Mobil Litros79.90MOBIL SPEC 15W40 946ML' in context: 'roducts_tbody_control22_newRenderProduct'
27.- [10:56:09.823] 'Aceite 15W40 Mobil Litros383.44MOBIL SPEC 15W40 5L' in context: 'roducts_tbody_control21_newRenderProduct'
28.- [10:56:10.650] 'A�adir al pedido' in context: 'ftSubWindowBody_body_productAddToReceipt'
29.- [10:56:11.703] 'smallButton' in context: 'hProductCharacteristicHeader_smallButton'
30.- [10:56:11.750] 'productFilterText' in context: 'ctCharacteristicHeader_productFilterText'
31.- [10:56:14.307] 'mainMenuButton' in context: 'older_mainMenu_menuHolder_mainMenuButton'
32.- [10:56:15.132] 'Descuentos pedido' in context: 'enuHolder_menuScroller_menuDiscounts_lbl'
33.- [10:56:16.656] 'checkSelectAll' in context: 'tTabContent_discountsEdit_checkSelectAll'
34.- [10:56:17.138] 'Aplicar' in context: 'it_editTabContent_discountsEdit_btnApply'
Not reproducible. Saw in ustomer log
Avoid error checking that key is valid
No tags attached.
related to defect 0039435 closed ranjith_qualiantech_com Javascript error when a keyup event is fired without key information 
Issue History
2019-01-09 16:22guilleaerNew Issue
2019-01-09 16:22guilleaerAssigned To => guilleaer
2019-01-09 16:22guilleaerTriggers an Emergency Pack => No
2019-01-09 16:29hgbotCheckin
2019-01-09 16:29hgbotNote Added: 0108872
2019-01-09 16:29hgbotStatusnew => resolved
2019-01-09 16:29hgbotResolutionopen => fixed
2019-01-09 16:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/59a05a9cf6ff39acaabdbcace0a578b23b87e355 [^]
2019-01-09 17:58guilleaerDescription Updatedbug_revision_view_page.php?rev_id=18105#r18105
2019-01-18 12:01marvintmReview Assigned To => marvintm
2019-01-18 12:01marvintmStatusresolved => closed
2019-01-18 12:01marvintmFixed in Version => RR19Q2
2019-02-28 15:51jorge-garciaRelationship addedrelated to 0039435
2019-11-13 16:12rafarodaIssue Monitored: rafaroda

Notes
(0108872)
hgbot   
2019-01-09 16:29   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 59a05a9cf6ff39acaabdbcace0a578b23b87e355
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jan 09 16:27:38 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/59a05a9cf6ff39acaabdbcace0a578b23b87e355 [^]

Fixed issue 39899: Avoid error in globalKeypressHandler

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---