#845 closed bug (fixed)
common error gives inscrutable error
Reported by: | 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.
Change History (1)
comment:1 Changed 16 years ago by
Milestone: | → 1.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 1.1 |
Note: See
TracTickets for help on using
tickets.
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.