Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1916 (closed defect: duplicate)

Opened 11 years ago

Last modified 11 years ago

404 returned when using SecureController

Reported by: ondrejj Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version: trunk
Severity: normal Keywords:


When using SecureController? from default template and user is not logged in, an "404 Not Found" "The resource could not be found." is returned instead of 401 Unauthorized (HTTPUnauthorized().exception).

Why? Is it possible to fix this? When 404 is returned, user is not redirected back to login page and can't continue.

This behaviour make me hard to convert my TG1 application to TG2.

Tested on TurboGears2-1.9.7a2-py2.5.egg, not found in Versions.

Change History

comment:1 Changed 11 years ago by mramm

  • Status changed from new to closed
  • Resolution set to duplicate

This is a bug and needs to be fixed. It's already in trac, written up in #1884.

Note: See TracTickets for help on using tickets.