Project

General

Profile

Actions

Bug #66600

closed

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

Added by Philipp Wrann over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2015-04-27
Due date:
% Done:

0%

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

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.

Actions

Also available in: Atom PDF