Skip to main content

Bug Tracker

Side navigation

#845 closed bug (fixed)

Opened January 18, 2007 12:09AM UTC

Closed January 20, 2007 04:21AM UTC

Last modified June 19, 2007 09:24AM UTC

common error gives inscrutable error

Reported by: tex@off.org Owned by:
Priority: minor Milestone: 1.1
Component: ajax Version: 1.1
Keywords: Cc:
Blocked by: Blocking:
Description

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.

Attachments (0)
Change History (1)

Changed January 20, 2007 04:21AM UTC by john comment:1

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.