Skip to content

Update Media.php in order to fix validation constraints overwrite.

Milan Gurjanov requested to merge issue/drupal-3424200:10.2.x into 10.2.x

https://www.drupal.org/project/drupal/issues/3424200 This should fix validation constraints being cleared by Media module for media_source as it was getting only constraints from media_source by using getSourceFieldConstraints() and then setting constraints instead of adding them thus clearing all other constraints that could be added elsewhere.

Merge request reports

Loading