GNOME Bugzilla – Bug 591955
Submitting a patch requires a valid status but the status cannot be set
Last modified: 2009-08-16 21:06:08 UTC
After selecting the "patch" checkbox I got this error: > You must select a valid status for the attachment. but in the "Create New Attachment" form the Status is a "none" label and I didn't find any way to change it. Deselecting "patch" let the attachment be sent.
The problem here is that if you don't have 'editbugs', then the HTML gets generated without any sort of form element for the status - the field template with editable false is just a label. Seems likely best to accept posts without the attachments.status label, since saying that someone not in editbugs has to provide attachments.status and it has to be exactly 'none' is a bit weird.
Okay, fixed it by always defaulting to a status of "none" when you aren't in editbugs. Committing to: /var/www/html/everythingsolved.com/bzr/gnome/3.4/ modified Bugzilla/Attachment.pm Committed revision 6655.