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

file_field_prepare_view() should not delete items

$
0
0

Found when debugging some fails in #1969728: Implement Field API "field types" as TypedData Plugins.

When an uploaded file is configured not to be displayed, file_field_prepare_view() simply deletes it from the list of values.
This affects the entity for the rest of the request.

That's not how it should work, items that are supposed to remain hidden should stay out of the way, but they cannot be simply removed.


Viewing all articles
Browse latest Browse all 291341

Trending Articles



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