Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029103Retail ModulesWeb POSpublic2015-03-02 14:512015-03-13 12:12
Orekaria 
Orekaria 
normalminoralways
closedfixed 
5
 
 
adrianromero
No
0029103: Add forward compatibility for ECMAScript 6 Promises in browsers that do not support it
Add forward compatibility for ECMAScript 6 Promises in browsers that do not support it
In a Chrome browser console, execute "Promise"
Verify that "function Promise() { [native code] }" is shown

In a browser that do not support Promise (http://caniuse.com/#feat=promises [^]) execute "Promise"
Verify that the method is not supported
No tags attached.
Issue History
2015-03-02 14:51OrekariaNew Issue
2015-03-02 14:51OrekariaAssigned To => Orekaria
2015-03-02 14:51OrekariaTriggers an Emergency Pack => No
2015-03-02 15:04hgbotCheckin
2015-03-02 15:04hgbotNote Added: 0075091
2015-03-02 15:05hgbotCheckin
2015-03-02 15:05hgbotNote Added: 0075092
2015-03-02 15:05hgbotStatusnew => resolved
2015-03-02 15:05hgbotResolutionopen => fixed
2015-03-02 15:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/908efc8856b6b9438ed216fd5ab4615141e23de2 [^]
2015-03-02 15:06OrekariaIssue Monitored: alostale
2015-03-02 16:16OrekariaSummaryAdd backward compatibility for ECMAScript 6 Promises in browsers that do not support it => Add forward compatibility for ECMAScript 6 Promises in browsers that do not support it
2015-03-02 16:16OrekariaDescription Updatedbug_revision_view_page.php?rev_id=7820#r7820
2015-03-02 17:12hgbotCheckin
2015-03-02 17:12hgbotNote Added: 0075100
2015-03-03 16:09hudsonbotCheckin
2015-03-03 16:09hudsonbotNote Added: 0075124
2015-03-13 12:12adrianromeroReview Assigned To => adrianromero
2015-03-13 12:12adrianromeroNote Added: 0075542
2015-03-13 12:12adrianromeroStatusresolved => closed

Notes
(0075091)
hgbot   
2015-03-02 15:04   
Repository: erp/devel/pi
Changeset: d954e7171ce779da79ba661b79032bcbda9ecf3b
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Mar 02 15:03:54 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d954e7171ce779da79ba661b79032bcbda9ecf3b [^]

Related to issue 29103: Exclude the vendor directory from the jsLint check list

The problem is that external libs do not follow javascript linter rules

In this case, the non-minified javascript file has been edited to be linter compliant

---
M modules/org.openbravo.client.kernel/jslint/jscheck-module-hg
---
(0075092)
hgbot   
2015-03-02 15:05   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 908efc8856b6b9438ed216fd5ab4615141e23de2
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Mar 02 15:01:08 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/908efc8856b6b9438ed216fd5ab4615141e23de2 [^]

Fixes issue 29103: Added ES6 Promise polyfill for compatibility with browsers that still do not support it

- The polyfill is MIT licenced, authorized by Taylor Hakes and Forbes Lindesay

---
M src/org/openbravo/mobile/core/LibraryResource.java
A legal/Promise-license.txt
A web/org.openbravo.mobile.core/lib/vendor/promise-2.0.0.js
A web/org.openbravo.mobile.core/lib/vendor/promise-2.0.0.min.js
---
(0075100)
hgbot   
2015-03-02 17:12   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bbb0af6cd0ba4897dc4d59861980f85b0e249792
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Mon Mar 02 17:11:32 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bbb0af6cd0ba4897dc4d59861980f85b0e249792 [^]

Related to issue 29103: Added ES6 Promise polyfill for compatibility with browsers that still do not support it

---
M legal/Licensing.txt
---
(0075124)
hudsonbot   
2015-03-03 16:09   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f4fc528722d4 [^]
Maturity status: Test
(0075542)
adrianromero   
2015-03-13 12:12   
Verified