Defect #935
when bulk editing, setting "Assigned to" to "nobody" causes an sql error
| Status: | Closed | Start: | 2008-03-26 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Tickets | |||
| Target version: | 0.7 | |||
| Affected version: | devel |
Resolution: | Fixed |
|
Description
at least under postgres:
ActiveRecord::StatementInvalid (PGError: ERROR: invalid input syntax for integer: "none" : SELECT * FROM users WHERE (users."id" = 'none') LIMIT 1):
I've included a patch which fixes this problem, and as a bonus, allows setting the version to "none" as well, using a similar pattern to assigned_to.
Associated revisions
Fixed: when bulk editing, setting "Assigned to" to "nobody" causes an sql error with Postgresql (#935).