You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2013/05/23 09:12:21 UTC

[jira] [Reopened] (INFRA-6300) whimsy: return HTTP 500 on error

     [ https://issues.apache.org/jira/browse/INFRA-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb reopened INFRA-6300:
-------------------------


https://whimsy.apache.org/board/agenda/2013-05-21/Establish_Onami now returns

500 Server error and the following page contents

#<TypeError: can't convert nil into String>
  /var/www/whimsy/board/agenda.cgi:81:in `read'
  /var/www/whimsy/board/agenda.cgi:81:in `block in <main>'
  /var/www/whimsy/board/agenda.cgi:466:in `call'
  /var/www/whimsy/board/agenda.cgi:466:in `block (2 levels) in <main>'
  /var/www/whimsy/board/agenda.cgi:465:in `block in <main>'

That looks wrong; surely 404 would be better?
                
> whimsy: return HTTP 500 on error
> --------------------------------
>
>                 Key: INFRA-6300
>                 URL: https://issues.apache.org/jira/browse/INFRA-6300
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Whimsy
>            Reporter: #asfinfra IRC Bot
>            Assignee: Sam Ruby
>
> https://whimsy.apache.org/board/agenda/2013-05-21/Establish_Onami returns 200.  It should return 40x or 50x code, since there's no such resolution in May.  tlpreq depends on the error code correctness here; if this is not fixed in whimsy, tlpreq/scripts/ldap would need to be patched.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira