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

'Display "@display" needs a selected search fields' message is confusing

$
0
0

Problem/Motivation

The Entity Reference Views display plugin has a very confusing validation message: 'Display "@display" needs a selected search fields to work properly. See the settings for the Entity Reference list format.' (EntityReference.php#L224).

Grammatically, it baffles me. What is "a [singular] selected search fields [plural]"? Also, shouldn't "Entity Reference list" be in quotes since it's a technical term? (Otherwise you can't tell if it's supposed to be '"Entity Reference list" format' or '"Entity Reference""list format"'.) I think that if I were an inexperienced user I wouldn't have any idea what was going on or how to fix it.

Steps to reproduce

Create a new View, add an "Entity Reference" display, and see the Error message, e.g., "Display "Entity Reference" needs a selected search fields to work properly. See the settings for the Entity Reference list format."

Proposed resolution

I think if we just quote the technical terms (i.e., field names) it will clear things up.

Remaining tasks

tbd

User interface changes

UI string.

Release notes snippet


Viewing all articles
Browse latest Browse all 292626

Trending Articles



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