When #Followed Tags is empty /tag_followings crash error 500
When Commented Posts is empty, user clik here https://XXXXXXXXX/comment_stream works fine.
When Like Stream is empty, user click hero https://XXXXXXXX//like_stream works fine
But when #Followed Tags is empty https://XXXXXXXXXX/tag_followings crash error 500
Thanks.
https://joindiaspora.com/tags_following does not exist. It must return a 404Not found error. How did you get error 500? I mean did you really get Error 500? Or the server of thee pod could be down for a moment / suffered a jitter.
https://diasp.org/tag_followings error 500 and https://jauspora.com/tag_followings error 500
404 or 500 may depend on the configuration of nginx, I do not know ;]
I can confirm this issue. If no #tags have been entered onto the followed list, clicking on https://diasp.eu.com/tag_followings takes you to 500: Internal server error.
It is probably some kind of null pointer exception(nil) because there is empty list. So error 500 is very usual in this case.
In quick inspection I suspect there is a problem in function 'tags'(returns nil) here: https://github.com/diaspora/diaspora/blob/master/lib/stream/followed_tag.rb
I do not have environment set so I cannot test.
I solved the problem. Now I am waiting acceptance of my pull request by someone of "developer"s. https://github.com/diaspora/diaspora/pull/2524
Thanks ;]
it wont be solved because they don't want to be solved.
fixed by #2524