Issue Bug Closed

#66600Extbase / Filereference / public method of api class changed in patch release, causing fatal errors.

Philipp Wrann 04/27/15, 12:13 updated 05/22/15, 14:39

Description

This change broke some of my websites.
(https://forge.typo3.org/issues/48965)

https://forge.typo3.org/projects/typo3cms-core/repository/revisions/aef204f2f9da0159204c06175540b7b9ffd44bee/diff/typo3/sysext/extbase/Classes/Domain/Model/FileReference.php

Before this change it was possible to set a File as OriginalResource, because the Method AbstractFileFolder::setOriginalResource expects \TYPO3\CMS\Core\Resource\ResourceInterface, now the the model has its own setter which expects \TYPO3\CMS\Core\Resource\FileReference.

I make use of import processes a lot and synch external contents to internals.

I suggest not changing public functions in @api classes unless a new major release is made.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.