Brett Porter created WHIMSY-76:
----------------------------------

             Summary: ArgumentError: invalid date
                 Key: WHIMSY-76
                 URL: https://issues.apache.org/jira/browse/WHIMSY-76
             Project: Whimsy
          Issue Type: Bug
            Reporter: Brett Porter
            Assignee: Brett Porter


Received the following opening "missing reports":

{code}
{
    "exception": "#<ArgumentError: invalid date>",
    "backtrace": [
        
"/x1/srv/whimsy/www/board/agenda/views/actions/posted-reports.json.rb:16:in 
`parse'",
        
"/x1/srv/whimsy/www/board/agenda/views/actions/posted-reports.json.rb:16:in 
`_evaluate'",
        "/x1/srv/whimsy/www/board/agenda/routes.rb:152:in `block in <top 
(required)>'",
{code}

This is a result of the code that calculates the cutoff date, trying to go back 
a month on the current day, which is not valid as it would be 31 Feb.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to