Contribution Date
Technology
Contribution Project
Contribution Details
Fixed the issue related to error message when media field is required.
Instead of "This value should not be null" now error message will be "@field_name field is required."
I tried these patch https://www.drupal.org/files/issues/2020-08-10/3160238-6-FAIL.patch in my local and now it is passing all test cases. So adding test cases in my patch.
Test case output:
Testing Drupal\Tests\media_library\Functional\FieldWidgetTest
Test 'Drupal\Tests\media_library\Functional\FieldWidgetTest::testEmptyValue' started
Test 'Drupal\Tests\media_library\Functional\FieldWidgetTest::testEmptyValue' ended
OK (1 test, 9 assertions)
Issue Status
Needs Review
Contribution Issue Link
Contribution Link
Files count
1
Patches count
1