Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292435

Edit Media Library widget produces "This value should not be null" wrong error when field is required

$
0
0

Adding media library field on any entity and making it as required. Create the entity and submit the form without having value in media library field and it will show wrong validation message.

Steps to repeat issue:

1. Enable the Media Library and Media modules.

2. Create content type with Media Library field and make it a required field.

3. Create new content type using Media Library field and save the form to display the wrong error message, "This value should not be null"

The value should not be null

See screenshot for error message.


Viewing all articles
Browse latest Browse all 292435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>