Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

SDB attributes with empty string don't get sent and can cause errors in some cases

#2

If you try to send an empty string as the values for an element in SDB, it won't get sent due to the use of Array(values) shown here:

http://github.com/appoxy/aws/blob/master/lib/sdb/right_sdb_interfac...

So if values is '', this results in an empty array so the attribute is excluded:

Array('') => []

This can also cause the put attributes call to fail if this is the last attribute that gets packed because the AWS code adds a .Replace element with no corresponding Name/Value elements for that idx.

Reported by Tom Davies · May 24th, 2010 @ 06:42 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.