Bug Tracker

Ticket #3164 (closed bug: duplicate)

Opened 6 months ago

Last modified 6 months ago

for-loop is off by 1

Reported by: genedronek Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.3 Component: event
Version: 1.2.6 Keywords:
Cc: Needs: Review

Description

for-loop (nr line 2102) that clones "read-only properties" from props list is off by 1. Causes "undefined" property name in event object. I fixed this using

for ( var i=props.length; --i >= 0; )

Attachments

Change History

Changed 6 months ago by flesler

  • status changed from new to closed
  • component changed from core to event
  • resolution set to duplicate

I already fixed this on [5707]. Thanks for reporting.

Note: See TracTickets for help on using tickets.