Project

General

Profile

Actions

Defect #13290

closed

Internal Error instead login screen when anonymous user is redirected to wiki page

Added by Miodrag Milic over 11 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I am not sure how this happens and I can't reproduce it on my test version, but its persistent on my production system

Anonymous users do not have access to wiki pages. On my home screen I have links to some of the wikis and when you are not logged in, clicking on such link rises Internal Error. The production log shows only this:

NoMethodError (undefined method `title' for nil:NilClass):
  app/controllers/application_controller.rb:193:in `require_login'
  app/controllers/application_controller.rb:215:in `deny_access'
  app/controllers/application_controller.rb:227:in `authorize'

If this is not a bug, I would appreciate any help in managing it.

Actions

Also available in: Atom PDF