[TYPO3-dev] File references not saved correctly in extbase

Mato Ilic info at matoilic.ch
Fri Apr 11 16:24:45 CEST 2014


Hi all,

I'm developing an extension for TYPO3 6.2 and want to attach multiple
images to a model using FAL. The problem is that in sys_file_reference the
columns uid_local and table_local stay empty. Thus, it fails to retrieve
the images when loading the record from the DB. The following exception
gets thrown:

#1300098528: Incorrect reference to original file given for FileReference

I've published the associated code on github
https://gist.github.com/matoilic/10472571

Does anyone see the mistake? I've been trying for hours now without luck.

Cheers,
Mato



More information about the TYPO3-dev mailing list