Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#845 closed bug (fixed)

common error gives inscrutable error

Reported by: [email protected] Owned by:
Priority: minor Milestone: 1.1
Component: ajax Version: 1.1
Keywords: Cc:
Blocked by: Blocking:


line 2102:

if ( a[j].constructor == Array )

causes exception: 'Error: a[j] has no properties' if a[j] is undef. That's not very helpful - more helpful would be to discover ahead of time that a[j] is undefined. Even better (if possible) might be to have it serialize an undef there.

Change History (1)

comment:1 Changed 16 years ago by john

Milestone: 1.1
Resolution: fixed
Status: newclosed
Version: 1.1

This was due to when you were passing in an undefined parameter in an Ajax request. This has been resolved to no longer error, and instead send the undefined value to the server.

Note: See TracTickets for help on using tickets.