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

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.11 [ 12316480 ]
        Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
        Leonardo Uribe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 1.1.11-SNAPSHOT [ 12315372 ]
        Resolution Fixed [ 1 ]
        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.
        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 -
        Field Original Value New Value
        Attachment Array_shift_override_fix_for_empty_arrays.patch [ 12475496 ]
        Sergey Chistyakov created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development