CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #35359

XCLASS in class.tx_nawsecuredl_output.php

Added by Thorsten Lübkemann about 1 year ago. Updated 10 months ago.

Status:Resolved Start date:2012-03-29
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:-
Target version:-
Votes: 0

Description

In the file class.tx_nawsecuredl_output.php the methods init() and fileOutput() of the class tx_nawsecuredl_output get called before the XCLASS definition. So in a standard installation of naw_securedl you can't change the output with a XCLASS because the original class gets instantiated too early.

Solution: Move the XCLASS definition before the instantiation of tx_nawsecuredl_output.

Associated revisions

Revision 65389
Added by Helmut Hummel 10 months ago

[BUGFIX] Move XCLASS definition before instatiation in tx_nawsecuredl_output

Thanks to Thorsten Lübkemann.

Resolves: #35359

Revision 65389
Added by Helmut Hummel 10 months ago

[BUGFIX] Move XCLASS definition before instatiation in tx_nawsecuredl_output

Thanks to Thorsten Lübkemann.

Resolves: #35359

History

Updated by Helmut Hummel about 1 year ago

  • Status changed from New to Accepted

Agreed.

What do you need the XCLASS for? Probably we could integrate that.

Updated by Thorsten Lübkemann about 1 year ago

I need a redirect to another page instead of the "Access denied" message for non-registered frontend users.

Updated by Helmut Hummel about 1 year ago

Sounds like a nice feature. Do you want to hand in a patch which makes the behavior of the access denied handling configurable (maybe a hook)?

Updated by Thorsten Lübkemann about 1 year ago

I could hand in a patch, but that could take some time.

Updated by Helmut Hummel 10 months ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r65389.

Also available in: Atom PDF