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 #1

Updated by Georg Ringer over 7 years ago

  • Description updated (diff)
  • Status changed from New to Accepted
Actions #2

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52146

Actions #3

Updated by Georg Ringer over 7 years ago

  • Description updated (diff)
  • Is Regression changed from No to Yes
  • Sprint Focus set to Stabilization Sprint
Actions #4

Updated by Georg Ringer over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF