Field rendering should respect configurable field display
ProblemAs discussed in #2353867: Title does not appear as a field in Manage Display, sitebuilders cannot configure the display of node's title even though they often want to.Worse, even if developers...
View ArticleUninstall form config deletion confirmation shows ambiguous items for...
It's possible for view modes on different entity types to have the same name. This means that when the uninstall confirmation form shows view modes, you can't determine what you're actually deleting.
View Articledrupal ajax paging is breaking default edit behaviour
i have a view page of titles with a mini-pager. Views AJAX setting is on. On page load I the top rhs context menu is active on hover. when i page the view i lose it until page reload.This is also...
View ArticleModeration control form should validate an entity before saving it
I came across this in in Workbench Moderation, but it still seems to apply for Content Moderation.The EntityModerationForm is used to display a moderation form on the latest version tab to easily...
View ArticleEntityViewBuilder::getBuildDefaults doesn't respect the EntityInterface...
Problem/MotivationThe EntityViewBuilder::getBuildDefaults has an $entity parameter that should respect the EntityInterface.Yet in the getBuildDefaults() method there's a call on the $entity object to a...
View ArticleThe Views integration Datetime Range fields should extend the views...
Follow-up to #2161337: Add a Date Range field type with support for end dateProblem/Motivationdatetime_field_views_data() performs some nice improvements for the Views integration for datetime fields,...
View ArticleCannot use relationship for rendered entity on Views
Problem/MotivationYou cannot create a view and try to list rendered entities using relationship.Steps to reproduce (based on Standard profile):Add an entity reference field named "field_content" to the...
View Articleviews\field\EntityOperations::getEntityTranslation() throws exception on null
I'd just upgrade my site from 8.4.5 to release 8.5.0 (php7.1) and get now the following exception with one of my views. This view worked fine before with 8.4.5.The website encountered an unexpected...
View ArticleHow to fix Notice: Array to string conversion
I have no idea why my site is bringing up this warning...Notice: Array to string conversion in drupal_send_headers() (line 1490 of /includes/bootstrap.inc).I've looked online and cannot figure it out....
View Articleinvalid conf file warnings when skip_permissions_hardening is on
Problem/MotivationAt the moment when $settings['skip_permissions_hardening'] = TRUE, the system module's system_requirements unconditionally issues a warning about the site's config files' permissions...
View ArticleRemove outdated and misleading comment re. temp directory from file_save_upload
This comment in file_save_upload() seems to have been moved around within Drupal several times, to the point where I'm not sure where it originally came from back in the mists of time: // Move uploaded...
View ArticleImprove Datetime and Daterange Views contextual grouped filter names
Problem/MotivationWhen you create a contextual filter in Views for a datetime or daterange field, you see field like node.field_date_only (full_date) node.field_date_range:end_value (day) for grouped...
View ArticleFieldItemListInterface::getEntity() should return FieldableEntityInterface...
Why does FieldItemListInterface::getEntity return EntityInterface and not FieldableEntityInterface?
View ArticleExposed date filters 'empty' and 'not empty' are broken
Problem/MotivationWhen exposed, the date filters 'empty' and one 'not empty' don't work.Proposed resolutionFix the logic in Drupal\views\Plugin\views\filter\Date::acceptExposedInput() to account for...
View ArticleCreate views plugins for date range fields
Problem/Motivation#2786577: The Views integration Datetime Range fields should extend the views integration for regular Datetime fields will add proper support for date plugins for data range fields,...
View ArticleViews argument for the datetime module should use maths.
Problem/MotivationThe datetime module has recently been made views compatible (nice) but you can only use it to match exact dates. There are currently 3 different date arguments ("Date in the form of...
View ArticleDatetime module needs a view field plugin for its field types
Currently, the datetime module does not define any views/field plugins with @ViewsField(...) tag in them. There are already plugins for argument, filter and sort.Views field is useful when writing...
View ArticleViews Date Filter Datetime Granularity Option
Problem/Motivation1. Create a content type with a Datetime field 2. Create some sample data with the content type 3. Create a simple view that has one exposed filter for selecting the Date 4. The...
View ArticleRace condition in file_save_upload causes data loss
First discovered in the ClamAV module: #2864506: Long ajax process causing files to disappear.A slow implementation of hook_file_validate() can cause inappropriate entries in the file_managed table,...
View ArticleAutomated Tests 8.x topic needs an update
API page: https://api.drupal.org/api/drupal/core%21core.api.php/group/testing/8.5.xThe Automated Tests topic, which is a @defgroup section in core/core.api.php, needs an update to remove mention of...
View Article