Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.10
    • Fix Version/s: 1.1.11
    • Component/s: AJAX Form Components
    • Labels:
      None
    • Environment:
      any

      Description

      Obsolete version of prototype.js framework is used. This old version contains several bugs which are fixed in current version of prototype. The most major one is the following:

      prototype.js overrides browser's built-in function Array.shift()

      shift: function()

      { var result = this[0]; for (var i = 0; i < this.length - 1; i++) this[i] = this[i + 1]; this.length--; return result; }

      ,

      which causes infinite loop and breaks browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.

        Activity

        Sergey Chistyakov created issue -
        Hide
        Sergey Chistyakov added a comment -

        Quick patch is attached (patch for the obsolete version of prototype.js)

        Show
        Sergey Chistyakov added a comment - Quick patch is attached (patch for the obsolete version of prototype.js)
        Sergey Chistyakov made changes -
        Field Original Value New Value
        Attachment Array_shift_override_fix_for_empty_arrays.patch [ 12475496 ]
        Sergey Chistyakov made changes -
        Description Obsolete prototype.js framework is used. This old version contains several number of bugs which are fixed in current version of prototype. The most major one is the following:

        prototype.js overrides browser's built-in function Array.shift()

        shift: function() {
            var result = this[0];
            for (var i = 0; i < this.length - 1; i++)
              this[i] = this[i + 1];
            this.length--;
            return result;
          },


        which causes infinite loop and brakes browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.
        Obsolete version of prototype.js framework is used. This old version contains several bugs which are fixed in current version of prototype. The most major one is the following:

        prototype.js overrides browser's built-in function Array.shift()

        shift: function() {
            var result = this[0];
            for (var i = 0; i < this.length - 1; i++)
              this[i] = this[i + 1];
            this.length--;
            return result;
          },


        which causes infinite loop and breakes browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.
        Summary Out-of date version of prototype.js is used Outdated version of prototype.js is used
        Sergey Chistyakov made changes -
        Description Obsolete version of prototype.js framework is used. This old version contains several bugs which are fixed in current version of prototype. The most major one is the following:

        prototype.js overrides browser's built-in function Array.shift()

        shift: function() {
            var result = this[0];
            for (var i = 0; i < this.length - 1; i++)
              this[i] = this[i + 1];
            this.length--;
            return result;
          },


        which causes infinite loop and breakes browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.
        Obsolete version of prototype.js framework is used. This old version contains several bugs which are fixed in current version of prototype. The most major one is the following:

        prototype.js overrides browser's built-in function Array.shift()

        shift: function() {
            var result = this[0];
            for (var i = 0; i < this.length - 1; i++)
              this[i] = this[i + 1];
            this.length--;
            return result;
          },


        which causes infinite loop and breaks browsers work in case of empty array. Built-in function works fine. This bug is fixed in the current version of Prototype.
        Hide
        Leonardo Uribe added a comment -

        Now prototype version 1.7.0 and scriptaculous.js 1.9.0 are used. Thanks for the suggestion.

        Show
        Leonardo Uribe added a comment - Now prototype version 1.7.0 and scriptaculous.js 1.9.0 are used. Thanks for the suggestion.
        Leonardo Uribe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.11 [ 12316480 ]
        Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        23d 11m 1 Leonardo Uribe 28/Apr/11 16:38
        Resolved Resolved Closed Closed
        35d 1h 54m 1 Leonardo Uribe 02/Jun/11 18:32

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Sergey Chistyakov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development