-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Avoid NotInstantiableTypeException for type Folder
Objects of class TYPO3\CMS\Core\Resource\File can't be exported due to attached storage, which itself has EventDispatcher attached which eventually leads to illegal Closures for EventListeners. Right now, this happens for relations of type "folder". In order to fix this, the File object needs somehow to be defined as lazy. Another way could be to define a specific Model which behaves as a replacement for the File object. Yet another fix could be to avoid having eventDispatcher as a property in ResourceStorage. This is used in many places, though. Fixes: #172
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters