Project

General

Profile

Actions

Bug #80437

closed

FAL in fe_users

Added by Nikolai Townsend over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2017-03-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

In #74375 the fe_users.image was switched in the TCA to FAL, but should it not be done in the FrontendUser Model as well?

In TYPO3 8.6.1 it is set to:

    /**
     * @var string
     */
    protected $image = '';

I think it should be:

    /**
     * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
     */
    protected $image = null;

And in the getters and setters of course.

Adding the Image to your fluid template results in an error #1256475113: The argument "image" was registered with type "object", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper"


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #74375: Handle fe_user images with FALClosedKarthikeyan Palaniswamy2016-03-06

Actions
Actions

Also available in: Atom PDF