lale-help / lale-help

A collaborative platform for volunteer refugee support.

Home Page:http://lale.help

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Rollbar 37 - undefined method "name" for nil:NilClass

dottorer opened this issue · comments

All errors happened in Project 22:

bildschirmfoto 2016-09-19 um 12 21 52

This project has no organizer (i.e. is nilin Ruby terms), so when trying to call #name on the organizer in the view, we get this error.

The more interesting question is why the project has no organizer or how it got lost, I'll investigate that. The reason may related to #398, where we had a similar problem when working groups were saved. I fixed that bug at the time and can't reproduce it at the moment. The project 22 was created on September 5th, which is well after the bugfix was deployed to production.

Update: the reason for this bug is the one fixed in #398, it just hasn't been deployed to production yet (despite being fixed since Aug 9th). That's embarassing, but since Matze was testing on staging and demo, I forgot about production and then moved on to another issue.

I already fixed the missing admin in project 22 by assigning the first admin of the working group as admin (Hans Georg Hesener, user id 106).

A production deploy will prevent this from happening again, which I'll do today or tomorrow.

@phillipoertel Great - just missing a deploy then...

Adding the status:delivered label here since there's nothing left to discuss/develop here.

Was part of #398 . Closing.