You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "Sebb (Jira)" <ji...@apache.org> on 2024/07/14 09:00:00 UTC

[jira] [Commented] (WHIMSY-417) Board Agenda commit gives Argument Error

    [ https://issues.apache.org/jira/browse/WHIMSY-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865757#comment-17865757 ] 

Sebb commented on WHIMSY-417:
-----------------------------

Thanks for the detailed report.

The first line of the backtrace shows that the app failed here:

[https://github.com/apache/whimsy/blob/5cc4a796b94a916998d07c4bf1c8a0f57b027c34/www/board/agenda/views/actions/commit.json.rb#L169]

The code seems to be failing to match the expected text, however the agenda does appear to contain the text. Not sure yet what is happening.

> Board Agenda commit gives Argument Error
> ----------------------------------------
>
>                 Key: WHIMSY-417
>                 URL: https://issues.apache.org/jira/browse/WHIMSY-417
>             Project: Whimsy
>          Issue Type: Bug
>          Components: BoardAgenda
>            Reporter: Shane Curcuru
>            Priority: Major
>
> * Open /board/agenda
>  * Preapprove some reports
>  * Click on navbar red box with number of cached changes
>  * Click Commit
> *Bug:* Dialog from whimsy.apache.org with error:
> Exception
> #<ArgumentError: wrong number of arguments (given 0, expected 2..3)>
> Happens with a fresh browser.  Mac/Firefox.
> ----
>   *  
> {panel}
> {panel}
>  
>  {panel}
> {panel}
> {panel}
> {panel}
> |||
> |transcript|[ "$ svn checkout --non-interactive --depth empty -- https://svn.apache.org/repos/private/foundation/board /tmp/d20240713-3214727-1lhcgf8", " U /tmp/d20240713-3214727-1lhcgf8", "Checked out revision 117940.", "", "$ svn update --non-interactive -- /tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt", "Updating '/tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt':", "A /tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt", "Updated to revision 117940." ]|
> |0|"$ svn checkout --non-interactive --depth empty -- https://svn.apache.org/repos/private/foundation/board /tmp/d20240713-3214727-1lhcgf8"|
> |1|" U /tmp/d20240713-3214727-1lhcgf8"|
> |2|"Checked out revision 117940."|
> |3|""|
> |4|"$ svn update --non-interactive -- /tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt"|
> |5|"Updating '/tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt':"|
> |6|"A /tmp/d20240713-3214727-1lhcgf8/board_agenda_2024_07_17.txt"|
> |7|"Updated to revision 117940."|
> |exception|"#<ArgumentError: wrong number of arguments (given 0, expected 2..3)>"|
> |backtrace|[ "/x1/srv/whimsy/www/board/agenda/views/actions/commit.json.rb:169:in `initialize'", "/x1/srv/whimsy/www/board/agenda/views/actions/commit.json.rb:169:in `new'", "/x1/srv/whimsy/www/board/agenda/views/actions/commit.json.rb:169:in `block in _evaluate'", "/x1/srv/whimsy/www/board/agenda/models/agenda.rb:173:in `block in update'", "/x1/srv/whimsy/www/board/agenda/models/agenda.rb:155:in `open'", "/x1/srv/whimsy/www/board/agenda/models/agenda.rb:155:in `update'", "/x1/srv/whimsy/www/board/agenda/views/actions/commit.json.rb:18:in `_evaluate'", "/x1/srv/whimsy/www/board/agenda/routes.rb:359:in `block in <top (required)>'", "/x1/srv/whimsy/lib/whimsy/asf/rack.rb:225:in `call'", "/x1/srv/whimsy/lib/whimsy/asf/rack.rb:202:in `call'", … ]|
> {panel}
> {panel}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)