[
https://issues.apache.org/jira/browse/WHIMSY-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135846#comment-17135846
]
Sam Ruby commented on WHIMSY-333:
---------------------------------
Reproduced. Here's the 500 response from the server:
{
"exception": "#<NoMethodError: undefined method `each' for nil:NilClass>",
"backtrace": [
"/x1/srv/whimsy/www/board/agenda/views/actions/financials.json.rb:25:in
`_evaluate'",
"/x1/srv/whimsy/www/board/agenda/routes.rb:355:in `block in <top (required)>'",
"/x1/srv/whimsy/lib/whimsy/asf/rack.rb:223:in `call'",
"/x1/srv/whimsy/lib/whimsy/asf/rack.rb:200:in `call'",
"/x1/srv/whimsy/lib/whimsy/asf/rack.rb:254:in `call'",
"/x1/srv/whimsy/lib/whimsy/asf/rack.rb:79:in `call'",
"/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-6.0.2/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb:97:in
`process_request'",
"/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-6.0.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:157:in
`accept_and_process_next_request'",
"/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-6.0.2/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb:110:in
`main_loop'",
"/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-6.0.2/src/ruby_supportlib/phusion_passenger/request_handler.rb:415:in
`block (3 levels) in start_threads'",
"/usr/local/rvm/gems/ruby-2.4.1/gems/passenger-6.0.2/src/ruby_supportlib/phusion_passenger/utils.rb:113:in
`block in create_thread_and_abort_on_exception'"
]
}
Here's the line in question:
[https://github.com/apache/whimsy/blob/a14d707c064fb9f51149e8d40fe607a89b79fca1/www/board/agenda/views/actions/financials.json.rb#L25]
worksheet['Board Summary'].each do |row|
Apparently, there has been a change and the worksheet no longer has a 'Board
Summary' tab. It does have a 'Board summary' page, however.
> Treasurer is unable to edit the Treasurer's report to add upload the xls
> which Virtual sent to me
> -------------------------------------------------------------------------------------------------
>
> Key: WHIMSY-333
> URL: https://issues.apache.org/jira/browse/WHIMSY-333
> Project: Whimsy
> Issue Type: Task
> Components: BoardAgenda
> Reporter: Myrle Krantz
> Priority: Major
> Attachments: Screenshot from 2020-06-15 13-33-20.png
>
>
> I just posted the Treasurer's board report (which was submitted to me on
> Saturday morning at 2am). Unfortunately, I did not include the xls in my
> first submission and am now unable to edit the Treasurer's report to add
> those numbers. When I try to hit "upload", I get a :NoMethodError from
> whimsy (screenshot attached).
> After that I am no longer able to edit the text of the report at all, until I
> reload the board agenda tool in my browser.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)