Skip to content

Commit

Permalink
FEATURE: Support CopyrightNotice in ExtractionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
kdambekalns authored and daniellienert committed Aug 15, 2019
1 parent 1a4f2a9 commit ac99429
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Domain/ExtractionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ protected function buildAssetMetaData(Asset $asset, MetaDataCollection $metaData

$assetDto = new Dto\Asset([
'Caption' => $asset->getCaption(),
'CopyrightNotice' => $asset->getCopyrightNotice(),
'Identifier' => $asset->getIdentifier(),
'Title' => $asset->getTitle(),
'FileName' => $asset->getResource()->getFilename(),
Expand Down

1 comment on commit ac99429

@ComiR
Copy link
Contributor

@ComiR ComiR commented on ac99429 Sep 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke a not quite up to date instance of mine.
getCopyrightNotice() was introduced in neos/media 4.2, so

"neos/media": "^3.0 || ^4.0 || dev-master",
should have been adjusted accordingly.

Please sign in to comment.