Strict MIME type checking issue
In my custom module, I am adding a javascript file using libraries. Now when I visit the page, it gives me following error "Refused to execute script from 'http://dev.local.com/user/1' because its MIME...
View ArticlePlaceholders closing tags are not removed
The template placeholders closing tag are not removed from the final markup while the opening tag is.Consider the following Twig template:{% set body_classes = [ logged_in ? 'user-logged-in',...
View ArticleFacilitate global (spanning all users) flood tests
I'd like to propose a non-breaking enhancement which would facilitate testing thresholds for flooding across all users, instead of just individual users.Problem/MotivationDrupal/Core/Flood enables...
View ArticleAdd type to message action
The \Drupal\action\Plugin\Action\MessageAction provides action for setting the messages but it lacks the ability to choose the type of those messages so all messages set by this action will be of...
View ArticleHtml entities as text ('&') in field description are...
Problem/MotivationWhen entering a field description that includes a html entity as text &, the text is converted to a html entity on the form &.For example:Use ­ to control where...
View ArticleImprove block listing in Layout Builder by hiding/moving uncommon block plugins
Problem/MotivationThe block listing in Layout Builder is a little overwhelming for users. When adding a block to a Standard profile Article, there are 59 block plugins in the list. You can imagine that...
View Articleclass isn't set in FETCH_OBJECT when class_name isn't set
Hello,In StatementPrefetch if you are using fetchObject and pass in a class as the first parameter class_name does not get set and you get a ReflectionException.Attached is a patch to fix it. Let me...
View ArticleThe sort of install profiles is interesting
Problem/MotivationOn the install profile selection screen the following order is used in 8.6.xStandardMinimalDemo: UmamiOnce #2980670: Install a site from config if the config directory is set in...
View ArticleThe BaseFieldOverride entity fails to normalize default values into the...
Problem/MotivationDiscovered in test fails in #2949964: Add an EntityOwnerTrait to standardize the base field needed by EntityOwnerInterface. BaseFieldDefinition::getDefaultValue normalizes default...
View ArticleInstall a site from config if the config directory is set in settings.php
Problem/MotivationIn #2788777: Allow a site-specific profile to be installed from existing config we made it possible to install a site-specific profile which contains its configuration in...
View ArticleComment update core 8.4
Drupal trigger this error when run drush updb :Drupal\Core\Entity\EntityStorageException: 'action' [error] entity with ID 'comment_delete_action' already exists. in...
View Article[meta] Add READMEs to all themes
There is a movement afoot to add a README.txt to every theme.Things that should be in a theme README are something like the following:Repeat what is in the theme info file.Explain the theme's overall...
View ArticleMargin on form-items in table rows (Seven)
In #2675464: Margin on form-items in table rows (Classy) we identified and devised a solution for a problem in the Classy theme that causes problems for modules like IEF and Paragraphs. However,...
View ArticleInstaller ui text cleanup
Problem: some wordy descriptions needlessly clutter installation pages, introduce Drupalese jargon that new users are not helped with.Fix: reword, remove, shortenUI impact: see screenshots for reviewed...
View ArticleDrupal 7 - Show a confirmation form to change modification date before node...
I want to add a functionality in my drupal site that when someone edits a node and click on save, a confirm message will show "Do you want to change modification date" with Yes & No button. If Yes...
View Articledrupal attack
Hello Team,We are the server provider. During our monitoring we found DRUPAL 7 <= 7.57 REMOTE CODE EXECUTION (CVE-2018-7600 remote exploit the (CVE-2018-7600) vulnerability code running from our...
View ArticleFocus state bug on text field AJAX calls
Problem/Motivation#1824636: Do not move the cursor to the top of the page on ajax calls solved a form focus state issue where by default the focus state comes back to the form element after rebuilding...
View ArticleSupport Drupal 7 entity reference fields
Problem/MotivationThe migration system doesn't yet support migrating Drupal 7 entity reference fields, along with their settings and values, from Drupal 7 to Drupal 8.Proposed resolutionAdd a field...
View ArticleFix docs in install_write_profile()
Problem/Motivation#2975328-39: Install profile in settings.php and mismatch check makes re-installs of Drupal hard introduced a grammar as pointed out by @xjm.+++ b/core/includes/install.core.inc @@...
View Article