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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029672
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminoralways2015-04-22 14:162015-05-19 18:48
ReporterguillermogilView Statuspublic 
Assigned Toguillermogil 
PrioritynormalResolutionfixedFixed in VersionRR15Q2.1
StatusclosedFix in branchFixed in SCM revision06774cc5ca24
ProjectionnoneETAnoneTarget VersionRR15Q2.1
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

0029672: 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
(0077563)
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
---
(0077565)
hgbot (developer)
2015-05-19 10:28

Repository: retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core
Changeset: 3436b3bcb11d1a1d96c013ad1f2a83749c1c19b9
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Apr 22 14:18:52 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core/rev/3436b3bcb11d1a1d96c013ad1f2a83749c1c19b9 [^]

Fixes issue 29672, 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

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0077567)
hgbot (developer)
2015-05-19 10:28

Repository: retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core
Changeset: 06774cc5ca24685826d8c41803477f9ca092d978
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 15 17:17:34 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core/rev/06774cc5ca24685826d8c41803477f9ca092d978 [^]

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
---

- Issue History
Date Modified Username Field Change
2015-04-22 15:12 Orekaria Type defect => backport
2015-04-22 15:12 Orekaria Target Version pi => RR15Q2
2015-04-29 11:04 Orekaria Target Version RR15Q2 => RR15Q2.1
2015-05-19 10:28 hgbot Checkin
2015-05-19 10:28 hgbot Note Added: 0077563
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/da484494aa9c64b3569ae00a80661cfe9ed8db7f [^] => http://code.openbravo.com/retail/backports/3.0RR15Q1.4/org.openbravo.mobile.core/rev/7cd6c5ef81a64871ccf67c7bc3b8d97743a69f1d [^]
2015-05-19 10:28 hgbot Checkin
2015-05-19 10:28 hgbot Note Added: 0077565
2015-05-19 10:28 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR15Q1.4/org.openbravo.mobile.core/rev/7cd6c5ef81a64871ccf67c7bc3b8d97743a69f1d [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core/rev/3436b3bcb11d1a1d96c013ad1f2a83749c1c19b9 [^]
2015-05-19 10:28 hgbot Checkin
2015-05-19 10:28 hgbot Note Added: 0077567
2015-05-19 10:28 hgbot Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core/rev/3436b3bcb11d1a1d96c013ad1f2a83749c1c19b9 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q2.1/org.openbravo.mobile.core/rev/06774cc5ca24685826d8c41803477f9ca092d978 [^]
2015-05-19 18:48 marvintm Status resolved => closed
2015-05-19 18:48 marvintm Fixed in Version => RR15Q2.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker