Bug #69377

Image Content elements result in exception

Added by Sebastian Michaelsen about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-08-27
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Remote Sprint

Description

Displaying an image CE in the frontend results in following exception:
#1317178794: No file reference (sys_file_reference) was found for given UID: "0"

This bug seems related to the frontend cleanup #66204 which was merged recently.

Associated revisions

Revision 7dfcdf4d (diff)
Added by Daniel Maier about 4 years ago

[BUGFIX] Image Content elements result in exception

With the change introduced in #66204, the fileObject-uid only was
determined if fileObject is instace of AbstractFile. As the uid
needs also be determined correctly for FileReferences, a more
general approach is needed to check if the getUid method exists
for the given fileObject type.

Resolves: #69377
Related: #66204
Releases: master
Change-Id: Ia837b4706ae4c7f38446751eb8c800d4fad8c8e4
Reviewed-on: http://review.typo3.org/42897
Reviewed-by: Michael Oehlhof <>
Tested-by: Michael Oehlhof <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Frans Saris <>
Reviewed-by: Sebastian Michaelsen <>
Tested-by: Sebastian Michaelsen <>
Reviewed-by: Daniel Goerz <>
Tested-by: Daniel Goerz <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Michael Oehlhof about 4 years ago

  • Sprint Focus set to Remote Sprint

#2 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New 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 http://review.typo3.org/42897

#3 Updated by Gerrit Code Review about 4 years ago

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

#4 Updated by Gerrit Code Review about 4 years ago

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

#5 Updated by Daniel Maier about 4 years ago

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

#6 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF