Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035264Retail ModulesWeb POSpublic2017-02-14 17:412017-03-13 08:58
nataliag 
jorge-garcia 
immediatemajoralways
closedfixed 
5
 
RR17Q2 
marvintm
Production - Confirmed Stable
No
0035264: BarCode scanner and external keyboard are not working correctly in iOS
If you use a bar code scanner in an iOS device to read the EAN code, 13 numbers + the intro key are sent very quickly but the device only reads the last character, the intro in this case and no products are found. With the external keyboard it is possible to reproduce this if you press a number and then really quickly you press some others + intro key. The intro is read before the numbers introduced and only the first number is read.
1- Connect an iOS device with an external Keyboard.
2- Go to webPos and press the UPC/EAN field.
3- Using the external keyboard press a number, for example the 1 and wait until it appears in the screen. Then press quickly some other numbers + enter key.
4- A pop up appears: UPC/EAN code not found: 1
5- Only the first number and the enter has been read but not the other numbers entered.
No tags attached.
Issue History
2017-02-14 17:41nataliagNew Issue
2017-02-14 17:41nataliagAssigned To => Retail
2017-02-14 17:41nataliagResolution time => 1488841200
2017-02-14 17:41nataliagRegression level => Production - Confirmed Stable
2017-02-14 17:41nataliagTriggers an Emergency Pack => No
2017-02-14 17:47heccamIssue Monitored: heccam
2017-02-16 16:50jorge-garciaAssigned ToRetail => jorge-garcia
2017-02-16 17:51jorge-garciaStatusnew => scheduled
2017-03-08 10:11hgbotCheckin
2017-03-08 10:11hgbotNote Added: 0094815
2017-03-08 10:11hgbotStatusscheduled => resolved
2017-03-08 10:11hgbotResolutionopen => fixed
2017-03-08 10:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b123e9230ca3b9ef73a7df522f302b897bc5ab99 [^]
2017-03-09 12:32marvintmNote Added: 0094871
2017-03-09 12:32marvintmStatusresolved => new
2017-03-09 12:32marvintmResolutionfixed => open
2017-03-13 08:58marvintmStatusnew => scheduled
2017-03-13 08:58marvintmStatusscheduled => resolved
2017-03-13 08:58marvintmFixed in Version => RR17Q2
2017-03-13 08:58marvintmResolutionopen => fixed
2017-03-13 08:58marvintmReview Assigned To => marvintm
2017-03-13 08:58marvintmNote Added: 0094971
2017-03-13 08:58marvintmStatusresolved => closed

Notes
(0094815)
hgbot   
2017-03-08 10:11   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b123e9230ca3b9ef73a7df522f302b897bc5ab99
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Feb 23 12:33:11 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b123e9230ca3b9ef73a7df522f302b897bc5ab99 [^]

Fixed issue 35264: BarCode scanner and external keyboard are not working
correctly in iOS

The problem is a timeout set only if the device is a IOS. This timeout is
quite long (400 milisecons) and avoid the adding of new numbers till is
executed.

Removed timeout for iOS.

---
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0094871)
marvintm   
2017-03-09 12:32   
Doesn't work on all cases, on an iPhone. Most of the cases the code is scanned correctly, but in a few cases, some numbers are added to the end, and the final scanned UPC is wrong.
(0094971)
marvintm   
2017-03-13 08:58   
Finally we have concluded that the fix is correct.