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

Bug #6775

Image-upload fails while using anonymous access

Added by Tobias Schaefer about 3 years ago. Updated over 2 years ago.

Status:New Start date:2010-03-10
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Votes: 0

Description

If the "Use anonymous"-option is active in the plugin and the FE-user isn't logged in, it's not possible to upload images.
The script templates/image.php ignores the "Use anonymous"-option:

line 4:
if($this->controller->configurations->get('useAnonymous') || ($this->username != 'anonymous' && $this->username != '')){

It should be:
if($this->controller->configurations->get('anonymous') || ($this->username != 'anonymous' && $this->username != '')){

But this doesn't work either. In $this->controller->configurations the key "anonymous" is missing.

Best regards

Tobias Schaefer

Also available in: Atom PDF