Skip to content

Commit

Permalink
Merge pull request #5007 from neos/bugfix/5006-asset-type-converters
Browse files Browse the repository at this point in the history
BUGFIX: Add missing type converts for asset subtypes
  • Loading branch information
nezaniel authored Apr 27, 2024
2 parents 6841c68 + fbc6ea9 commit 702f212
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Neos.Neos/Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,33 @@ Neos:
features:
upload: true
mediaBrowser: true
Neos\Media\Domain\Model\Audio:
typeConverter: Neos\Neos\TypeConverter\EntityToIdentityConverter
editor: Neos.Neos/Inspector/Editors/AssetEditor
editorOptions:
features:
upload: true
mediaBrowser: true
constraints:
mediaTypes:
- 'audio/*'
Neos\Media\Domain\Model\Document:
typeConverter: Neos\Neos\TypeConverter\EntityToIdentityConverter
editor: Neos.Neos/Inspector/Editors/AssetEditor
editorOptions:
features:
upload: true
mediaBrowser: true
Neos\Media\Domain\Model\Video:
typeConverter: Neos\Neos\TypeConverter\EntityToIdentityConverter
editor: Neos.Neos/Inspector/Editors/AssetEditor
editorOptions:
features:
upload: true
mediaBrowser: true
constraints:
mediaTypes:
- 'video/*'
array<Neos\Media\Domain\Model\Asset>:
typeConverter: Neos\Flow\Property\TypeConverter\TypedArrayConverter
editor: Neos.Neos/Inspector/Editors/AssetEditor
Expand Down

0 comments on commit 702f212

Please sign in to comment.