You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "Brett Porter (JIRA)" <ji...@apache.org> on 2017/03/31 12:06:41 UTC
[jira] [Created] (WHIMSY-76) ArgumentError: invalid date
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)