Actions
Bug #61927
closedWrong UID in FolderBasedFileCollection properties
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.
Updated by Frans Saris over 9 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
Updated by Patrick Crausaz over 9 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.
Updated by Frans Saris over 9 years ago
- Status changed from Needs Feedback to Closed
Actions