Project

General

Profile

Actions

Bug #61927

closed

Wrong UID in FolderBasedFileCollection properties

Added by Patrick Crausaz about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-28
Due date:
% Done:

0%

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

Description

A File with the ID 95 is saved in the table "sys_file" with the UID 95

Get the Files from this directory with:
TYPO3\CMS\Core\Resource\Collection\FolderBasedFileCollection::create()

In the debug output the ID of that file is yet 96.

Actions #1

Updated by Frans Saris about 10 years ago

  • Description updated (diff)
  • Status changed from New to Needs Feedback

Could you post the data from sys_file of these records and from sys_file_collection

I use the folderBasedFileColections in multiple projects without any problems

Actions #2

Updated by Patrick Crausaz about 10 years ago

Can be closed. my bad.

The entries in the tabel "sys_file_metadata" and "sys_file" were off by one.
didn't realize that metadata ID and file ID weren't the same.
I got the file ID in the debug output and thought that shoud be the ID of the Title, Caption, Alt text as well.

Actions #3

Updated by Frans Saris about 10 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF