Notes |
|
(0076689)
|
hgbot
|
2015-04-22 14:23
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: da484494aa9c64b3569ae00a80661cfe9ed8db7f
Author: Guillermo Gil <guillermo.gil <at> openbravo.com>
Date: Wed Apr 22 14:18:52 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/da484494aa9c64b3569ae00a80661cfe9ed8db7f [^]
Fixed 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
---
|
|
|
|
|
|
|
All the flow until a method of signature "executeSql(x, y," where y can be any parameter arrived, must be analyzed |
|
|
(0077503)
|
hgbot
|
2015-05-15 17:20
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: ece27b8d83776f24701bebc3fc8470adee9eaf4c
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri May 15 17:17:34 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/ece27b8d83776f24701bebc3fc8470adee9eaf4c [^]
Fixed issue 29670. Changed ob-dal so that it doesn't fail in Chrome v43.
- All possible calls to executeSql with parameter {} have been replaced with [].
---
M web/org.openbravo.mobile.core/source/data/ob-cache.js
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
|
|
|
|
1) there is no need to modify ob-cache.js
2) the following change is out of the local database flow:
params = enyo.clone(_.isEmpty(whereClause) ? [] : whereClause);
legibility and maintenance (aka facilitate the other's work)
3) unify what we do when there is no value, null or []
e.g: initCache is sending a null value. we have to always send the same one in the absence of value, null or []
4) call them all the same way once they have been 'filtered', params or filteredParams. As filteredParams is necessary, we could use that name once the params have been prepared. then we would easily see where they have been prepared or not
5) use the same assignment approach:
params = _.isEmpty(whereClause.params) ? [] : whereClause.params;
or
params = whereClause.params;
if (_.isEmpty(params)) {
params = [];
} |
|
|
(0077543)
|
hgbot
|
2015-05-18 18:10
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2dd368c5b513019e5ce47143aaab643f688d447e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 18 18:09:40 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2dd368c5b513019e5ce47143aaab643f688d447e [^]
Fixed issue 29670. 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
---
M web/org.openbravo.mobile.core/source/data/ob-cache.js
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
|
|
|
(0077550)
|
hgbot
|
2015-05-19 09:19
|
|
|
|
|
Opened to create backport to RR15Q1.4 |
|
|
(0077561)
|
hgbot
|
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
---
|
|
|
(0077564)
|
hgbot
|
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
---
|
|
|
(0077566)
|
hgbot
|
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
---
|
|