Bug #58013

No file found for given UID.

Added by André Haehnel almost 7 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2014-04-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If a referenced file (sys_file_reference) points to a non existing id in the table sys_file you get this exception.


Files

NoFileFoundForGivenUid.png (138 KB) NoFileFoundForGivenUid.png André Haehnel, 2014-04-17 14:07
2014-04-17_typo3_missing_sys_file_entry.png (23.3 KB) 2014-04-17_typo3_missing_sys_file_entry.png error-message-with-patch Christian Weiske, 2014-04-17 17:15

Related issues

Related to TYPO3 Core - Bug #58021: Metadata can only be retrieved for indexed files.Closed2014-04-17

Actions
#1

Updated by Gerrit Code Review almost 7 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 https://review.typo3.org/29544

#2

Updated by Gerrit Code Review almost 7 years ago

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

#3

Updated by Christian Weiske almost 7 years ago

No file found for given UID

This problem only occurs if the database is inconsistent, which may happen during development.

Instead of erroring out with an exception, the page view shows the file as missing with a small explanatory message - see the screenshot.

#4

Updated by Gerrit Code Review almost 7 years ago

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

#5

Updated by Frans Saris almost 7 years ago

I do not think this should be handled in FileReference object but on the place where the object is called.

Is there also an exception on FE?

#6

Updated by Christian Weiske over 6 years ago

No, there is no FE rendering error. Which probably means that the error is caught there already.

#7

Updated by Gerrit Code Review over 6 years ago

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

#8

Updated by Andreas over 6 years ago

This is not solved in the last version of typo3 (6.2.5)!!

#9

Updated by Frans Saris about 6 years ago

  • Category changed from Backend API to File Abstraction Layer (FAL)
  • Target version set to 7.1 (Cleanup)
  • Sprint Focus set to On Location Sprint
#10

Updated by Gerrit Code Review almost 6 years ago

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

#11

Updated by Gerrit Code Review almost 6 years ago

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

#12

Updated by Gerrit Code Review almost 6 years ago

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

#13

Updated by Gerrit Code Review almost 6 years ago

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

#14

Updated by Gerrit Code Review almost 6 years ago

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

#15

Updated by Gerrit Code Review almost 6 years ago

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

#16

Updated by Gerrit Code Review almost 6 years ago

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

#17

Updated by Gerrit Code Review almost 6 years ago

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

#18

Updated by Gerrit Code Review almost 6 years ago

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

#19

Updated by Gerrit Code Review almost 6 years ago

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

#20

Updated by André Haehnel almost 6 years ago

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

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from Resolved to Under Review

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

#22

Updated by Gerrit Code Review almost 6 years ago

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

#23

Updated by Jan Helke almost 6 years ago

  • Status changed from Under Review to Resolved
#24

Updated by Anja Leichsenring about 5 years ago

  • Sprint Focus deleted (On Location Sprint)
#25

Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF