ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Deep link to PDF URL does not work when login required (Bug #485)


Added by Tom Kersten at 2011-06-18 10:03 pm. Updated at 2011-06-18 10:24 pm.


Status:Open Start date:2011-06-18
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Remote issue URL: Affected version:

Description

If you visit (or send) deep-link to a URL responsible for rendering a PDF and that URL requires a login, the user is presented with a blank page. ChiliProject returns a 406 error because PDF is not a supported format in the #respond_to block of ApplicationController#login_required.

I will submit a patch/pull request shortly.


History

Updated by Tom Kersten at 2011-06-18 10:07 pm

...I mean ApplicationController#require_login ;-)

Updated by Tom Kersten at 2011-06-18 10:24 pm

Added a (1-line) patch and pull request on Github to fix this.

Also available in: Atom PDF