ICEmobile
  1. ICEmobile
  2. MOBI-832

DataView incompatible with ICEfaces compat library

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      ICEfaces/Compat

      Description

      When the compat library is used with ICEmobile the dataView component generates the following error:

      Uncaught TypeError: Object #<StyleSheet> has no method 'each'

      This is apparently caused by the use of prototype.js in the compat library which affects ECMAScript 5 features such as Array.each, Array.map, and Array.filter, which the dataView component js uses.

        Activity

        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Philip Breau [ philip.breau ]
        Philip Breau made changes -
        Component/s Faces [ 10062 ]
        Philip Breau made changes -
        Fix Version/s 1.4 Beta [ 10874 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36634 Thu Jul 11 09:55:41 MDT 2013 philip.breau MOBI-832 DataView incompatible with ICEfaces compat library
        - convert all uses of Array.each, Array.filter and Array.map to for loops to avoid prototype incompatibility
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36972 Tue Jul 16 12:16:28 MDT 2013 nils.lundquist Revert: MOBI-832 - convert all uses of Array.each, Array.filter and Array.map to for loops to avoid prototype incompatibility
         
         Incompatibility with Prototype resolved with resolution of ICE-9303.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Hide
        Philip Breau added a comment -

        Revision: 38312
        Author: philip.breau
        Date: September-30-13 1:37:49 PM
        Message:
        MOBI-832 DataView incompatible with ICEfaces compat library

        • reverted ECMAScript 5 usage

          Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js

        Show
        Philip Breau added a comment - Revision: 38312 Author: philip.breau Date: September-30-13 1:37:49 PM Message: MOBI-832 DataView incompatible with ICEfaces compat library reverted ECMAScript 5 usage Modified : /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38312 Mon Sep 30 10:37:49 MDT 2013 philip.breau MOBI-832 DataView incompatible with ICEfaces compat library
        - reverted ECMAScript 5 usage
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38594 Fri Oct 11 20:03:37 MDT 2013 philip.breau MOBI-832 DataView incompatible with ICEfaces compat library
        - fix blankIndicator class addition
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38595 Fri Oct 11 20:09:38 MDT 2013 philip.breau MOBI-832 DataView incompatible with ICEfaces compat library
        - fix blankIndicator class addition
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Philip Breau made changes -
        Fix Version/s 1.3.1 [ 11376 ]
        Fix Version/s 1.4 Beta [ 10874 ]

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: