Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042262
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2019-11-12 16:452019-11-28 12:22
Reportersalvador_campanellaView Statuspublic 
Assigned TojavierRodriguez 
PrioritynormalResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revision441cd9c64542
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0042262: Focuskeeper is lost in IOS 13.2.2

Descriptionweb/org.openbravo.mobile.core/source/component/ob-terminal-component.js

In the mentioned file exist the folowing conditional.
// This shouldn't be done in iOS, if done the focuskeeper loses the focus
if (me.scanMode && navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
OB.debug('scanningfocus. iOS. Focused');
keeper = document.getElementById('_focusKeeper');
keeper.disabled = false;
me.setFocusOnFocusKeeper();
}

In iOS version 13.2.2 the userAgent, not contains "/iPhone|iPad|iPod"

You could see the userAgent in the attached Img
Steps To Reproduce- Using an Ipad with 13.2.2 version
- Open the WebPos
- Connect a Bluetooth keyboard or a bar code scanner
- Try to do a ticket

Result: the focuskeeper is lost
TagsNo tags attached.
Attached Filespng file icon Captura 2019-11-12 a las 10.54.58 (1).png [^] (195,319 bytes) 2019-11-12 16:45

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0042276RR19Q4 closedjavierRodriguez Focuskeeper is lost in IOS 13.2.2 
depends on backport 0042277RR19Q3.2 closedjavierRodriguez Focuskeeper is lost in IOS 13.2.2 

-  Notes
(0115622)
hgbot (developer)
2019-11-15 09:53

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 441cd9c645428fc3caa06d9fc68c9ead24403196
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Wed Nov 13 13:09:44 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/441cd9c645428fc3caa06d9fc68c9ead24403196 [^]

Fixed issue 42262: Focuskeeper is lost in IOS 13.2.2

With ipadOS, Apple wants that no website should know if you are using a Macintosh or an ipad.
Due to this, ipad user agent is equal than Macintosh user agent. Refactoring the isIOS function
in ob-utilities to look for 'Macintosh' inside the user agent works.

---
M web/org.openbravo.mobile.core/source/component/legacy/ob-legacy.js
M web/org.openbravo.mobile.core/source/component/ob-form.js
M web/org.openbravo.mobile.core/source/component/ob-login.js
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2019-11-12 16:45 salvador_campanella New Issue
2019-11-12 16:45 salvador_campanella Assigned To => Retail
2019-11-12 16:45 salvador_campanella File Added: Captura 2019-11-12 a las 10.54.58 (1).png
2019-11-12 16:45 salvador_campanella Resolution time => 1575154800
2019-11-12 16:45 salvador_campanella Triggers an Emergency Pack => No
2019-11-12 16:50 Practics Issue Monitored: Practics
2019-11-14 10:39 javierRodriguez Status new => scheduled
2019-11-14 10:39 javierRodriguez Status scheduled => acknowledged
2019-11-14 10:43 javierRodriguez Assigned To Retail => javierRodriguez
2019-11-14 10:43 javierRodriguez Status acknowledged => scheduled
2019-11-14 11:48 javierRodriguez Status scheduled => acknowledged
2019-11-14 11:48 javierRodriguez Status acknowledged => scheduled
2019-11-15 09:53 hgbot Checkin
2019-11-15 09:53 hgbot Note Added: 0115622
2019-11-15 09:53 hgbot Status scheduled => resolved
2019-11-15 09:53 hgbot Resolution open => fixed
2019-11-15 09:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/441cd9c645428fc3caa06d9fc68c9ead24403196 [^]
2019-11-28 12:22 marvintm Review Assigned To => marvintm
2019-11-28 12:22 marvintm Status resolved => closed
2019-11-28 12:22 marvintm Fixed in Version => RR20Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker