In TYPO3 6.2 in my model, I have a common field for files named documents , it ObjectStorage of \TYPO3\CMS\Extbase\Domain\Model\FileReference nothing unusual :)
The problem is with localized pages, only when I create a localized version of my obj object, all its fields are localized correctly, but not documents - it always uses file links by default: / I read about unresolved errors for this, but there is no workaround there ... Can someone suggest me what to do?
If all else fails, I will just write my own FileRef model, but it would be great to avoid this, as there are several places to change.
My field in the model (getter and setter are standard)
protected $documents = NULL;
and in TCA:
'documents' => array( 'exclude' => 1, 'label' => 'Documents', 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig( 'documents', array('maxitems' => 999) ), ),
source share