Skip to content

Commit

Permalink
IBX-85: Fixed missing service injection in Media\Type (#3097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Apr 28, 2021
1 parent 177cdeb commit f395425
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eZ/Publish/Core/FieldType/BinaryBase/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ final protected function regenerateUri(array $inputValue): array
$inputValue['route'],
$inputValue['route_parameters'] ?? []
);

unset($inputValue['route'], $inputValue['route_parameters']);
}

unset($inputValue['route'], $inputValue['route_parameters']);

return $inputValue;
}

Expand Down
1 change: 1 addition & 0 deletions eZ/Publish/Core/settings/fieldtypes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ services:
class: "%ezpublish.fieldType.ezmedia.class%"
arguments:
- ['@ezpublish.fieldType.validator.black_list']
- "@?ezpublish.fieldType.ezbinarybase.download_url_generator"
parent: ezpublish.fieldType
tags:
- {name: ezpublish.fieldType, alias: ezmedia}
Expand Down

0 comments on commit f395425

Please sign in to comment.