Modify ↓
Ticket #845 (closed bug: fixed)
common error gives inscrutable error
| Reported by: | tex@… | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1 |
| Component: | ajax | Version: | 1.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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.