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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029928
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminoralways2015-04-22 14:162015-05-19 18:11
ReporterguillermogilView Statuspublic 
Assigned ToOrekaria 
PrioritynormalResolutionfixedFixed in VersionRR15Q1.4
StatusclosedFix in branchFixed in SCM revision7cd6c5ef81a6
ProjectionnoneETAnoneTarget VersionRR15Q1.4
OSLinux 64 bitDatabasePostgreSQLJava version6
OS Version14.10Database version9.3Ant version
Product VersionpiSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029928: WebPOS does not work on the lastest beta Chrome release (43)

DescriptionThere has been an API restriction to webSQL calls on the lastest beta Chrome release (43). on the lastest stable chrome version (42) it works properly.

Uncaught TypeError: Failed to execute 'executeSql' on 'SQLTransaction': The 2nd argument is neither an array, nor does it have indexed properties.

It is looking for an empty array but it is receiving an empty object.
Steps To ReproduceInstall beta Chrome release
Try to log in.
Proposed SolutionDo not use empty objects, instead use empty arrays.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029670pi closedmarvintm WebPOS does not work on the lastest beta Chrome release (43) 

-  Notes
(0077562)
hgbot (developer)
2015-05-19 10:28

Repository: retail/backports/3.0RR15Q1.4/org.openbravo.mobile.core
Changeset: 7cd6c5ef81a64871ccf67c7bc3b8d97743a69f1d
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Tue May 19 10:27:17 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q1.4/org.openbravo.mobile.core/rev/7cd6c5ef81a64871ccf67c7bc3b8d97743a69f1d [^]

Fixes issue 29928, backport of issue 29670: WebPOS does not work on Chrome 43

There has been an API restriction to webSQL calls on the lastest beta Chrome release (43) on the lastest stable chrome version (42) it works properly.
Just call to the executeSQL with an empty array instead of and object
* * *
Fixes issue 29672, backport of issue 29670. Changed ob-dal so that it doesn't fail in Chrome v43 (I - III)
- All possible calls to executeSql with parameter {} have been replaced with [].
Applied several items of the code-review feedback:
- Removed changes to ob-cache as they are not necessary
- Standardized variable names and calls to identify when wrong parameter is passed
- Removed transformation done out of the local database code
- Replaced some nulls by [] to unify empty parameter object
Fixed small typo.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2015-05-19 10:23 Orekaria Type defect => backport
2015-05-19 10:23 Orekaria Target Version pi => RR15Q1.4
2015-05-19 10:28 hgbot Checkin
2015-05-19 10:28 hgbot Note Added: 0077562
2015-05-19 10:28 hgbot Status scheduled => resolved
2015-05-19 10:28 hgbot Resolution open => fixed
2015-05-19 10:28 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2dd368c5b513019e5ce47143aaab643f688d447e [^] => http://code.openbravo.com/retail/backports/3.0RR15Q1.4/org.openbravo.mobile.core/rev/7cd6c5ef81a64871ccf67c7bc3b8d97743a69f1d [^]
2015-05-19 18:11 marvintm Status resolved => closed
2015-05-19 18:11 marvintm Fixed in Version => RR15Q1.4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker