valid_email_address() should be easily overridable
Patch provided permits easy, site-wide overriding of core email validation provided by valid_email_address().
View ArticleCache the expensive parts of the container compilation
Problem/Motivation- Container compilation is one of the slowest parts in cold cache startup. (now that YAML parsing is cached in FileCache) - Container compilation is one of the most slowest parts...
View ArticleUpdates for contributed modules installed with composer —prefer-source not...
I have an issue on two Drupal 8 sites whereby updates for contributed modules do not show up on the available updates page (admin/reports/updates). Only Core updates are displayed. I have other Drupal...
View ArticleImages with mime type not correponding to file extension are not displayed in IE
This bug for IE and maybe some other browsers is happening because of 2 reasons:Header always set X-Content-Type-Options nosniff in root .htaccessSometimes uploaded images files have a mime type not...
View ArticleTotal Views Counters always in 0
Steps to reproduceEnable Statistics module.Make sure that under /admin/config/system/statistics "Count content views" is enabled.Create a basic node view, add a "Content statistics: Total views" field...
View ArticleSerialization component ignores error handling: add json_last_error() to Json...
The Json serialization component should covers json_last_error() & json_last_error_msg()...
View ArticleCannot sort by moderation state in a table generated by a view
Problem/MotivationOn a site using the Workflows and Content Moderation modules, I created a table using Views, and enabled click-to-sort for the "Moderation state". When I click on the column header, I...
View ArticleMissing space between sentences on the Custom Block page
Problem/MotivationOn a fresh install of Drupal, when no custom blocks have been added, the "no results" text on the Custom Block Library page (/admin/structure/block/block-content) readsThere are no...
View ArticleNeed help running HOOK_post_update_NAME functions
The problem we are trying to solve... We create a lot of branches - one for each new feature, or bug fix. The problem arises when we need to update the database for a new feature (usually because we...
View Articledrupal_add_html_head_link() needs to allow multiple hreflang tags to point to...
Problem/MotivationPer i18n, hreflang tags are allowed to have more then one translation point to the same link. However, using the core (includes/common.inc) drupal_add_html_head_link() function, this...
View ArticleAdd Html::isAjax()
Right now Html.php has a function which sets static::$isAjax, which used only in the getUniqueId() function.Exposing this through a isAjax() function will allow modules to easily identify if they need...
View ArticleRuntimeException: Failed to start the session because headers have already...
My recent log have a lot of this error (every page not found creat one error):RuntimeException: Failed to start the session because headers have already been sent by...
View ArticleImprove performance of functional tests by caching Drupal installations
BrowserTestBase creates a fresh Drupal installation for each test. This takes a considerable part of test execution time and has a negative impact on developer experience.Another performance problem is...
View Article"Restrict images to this site" blocks image style derivatives
Problem/MotivationThe filter Restrict images to this site checks if an image is local by trying to load image dimensions from the local file, if that fails, the image is marked as remote and removed...
View Articlestatus report in update manager no longer showing core update status
The status report generated by the update module in version 7.52 no longer has a line showing the update status of the core. This just started today 4/29/2018.
View ArticleLinks with no path get active class on front page
Since #2693725: Add <nolink> to allow for non-link links it's possible to create <nolink> urls, that render in a span. This can be done through the menu system by creating a menu item with...
View ArticleAllow hook_entity_field_access() to grant field-level access to User fields:...
Background In D8 the default access settings are simple: there is a single 'administer users' permission that controls editing other users.More complex schemes are possible using contrib modules to...
View ArticleUploading a managed file on a custom form that allows multiple files also...
Problem/MotivationWhen a managed file form element is added to a form with multiple files allowed, once files have been added, it will display a remove selected button. The issue is that this remove...
View ArticleRemove call_user_func_array from OptionsRequestSubscriber
Problem/MotivationOptionsRequestSubscriber uses call_user_func_array() unnecessarily.Proposed resolutionRemove call_user_func_array(). This event subscriber is fully tested in...
View ArticleAlways set X-Drupal-Cache and X-Drupal-Dynamic-Cache headers, even for...
Problem/MotivationCurrently if a response is not cacheable Drupal sets X-Drupal-Dynamic-Cache = UNCACHEABLE, but in some cases it does not. See DynamicPageCacheSubscriber::onResponse for...
View Article