Allow a profile to be installed from existing config
Problem/MotivationAs a user I want to be able to install Drupal from a package of configuration that is maintained in git.At DrupalCon New Orleans, a workflow was discussed that would allow a profile...
View ArticleDoccomment in EmbeddedDataSource.php not formatted correctly
Problem/MotivationThe phpdoc for class EmbeddedDataSource gives an example on how to use it in a migration configuration file. Unfortunately the ids-key in the code example isn't indented correctly...
View ArticleFix 'Drupal.Commenting.FunctionComment.ParamCommentNotCapital'...
Part of meta-issue #2571965: [meta] Fix coding standards in coreStep 1: PreparationOpen the file core/phpcs.xml.dist and add a line for the sniff of this ticket. The sniff name is in the issue title....
View ArticleForums performance improvements
The following functions have poor database performance:forum_get_topicsforum_get_forumsThe problem is that they restrict by taxonomy terms (one table) and sort by latest updates (another table). This...
View ArticleFix Drupal.Commenting.FunctionComment.ParamNameNoMatch
This is a part of the attempt to fix #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standardThis issue is created to tackle the sub-sniff...
View ArticleFix 'Drupal.Commenting.FunctionComment.ParamTypeSpaces' coding...
Part of #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standard.ApproachWe are testing coding standards with PHP CodeSniffer, using the Drupal coding standards from the Coder module....
View ArticleFix 'Drupal.Commenting.FunctionComment.ReturnTypeSpaces' coding...
Part of #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standard.ApproachWe are testing coding standards with PHP CodeSniffer, using the Drupal coding standards from the Coder module....
View ArticleFix 'Drupal.Commenting.FunctionComment.ParamCommentNewLine' coding...
Part of meta-issue #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standardStep 1: PreparationOpen the file core/phpcs.xml.dist and add / remove a line for the sniff of this ticket. The...
View Article[plan] Fix 'Drupal.Commenting.FunctionComment' coding standard
Part of #2571965: [meta] Fix coding standards in core.ApproachWe are testing coding standards with PHP CodeSniffer, using the Drupal coding standards from the Coder module. Both of these packages are...
View ArticleFix Drupal.Commenting.FunctionComment.IncorrectTypeHint and...
This is a part of the attempt to fix #2572645: [plan] Fix 'Drupal.Commenting.FunctionComment' coding standardThis issue is created to tackle the...
View ArticleWhen a theme has a managed_file field and a submit callback, call to...
When a theme has both a Managed File field and a Submit callback like this:/** * Implements hook_form_FORM_ID_alter(). */ function THEME_form_system_theme_settings_alter(&$form, &$form_state) {...
View ArticleHTTP_HOST header cannot be trusted
This issue has been handled by the Drupal Security Team in private and it was decided that this security hardening issue can be handled in public. See also, Handbook for Protecting against HTTP HOST...
View ArticleDrupal.ajax does not guarantee that "add new JS file to page"...
Problem/MotivationIt is impossible to load additional JS libraries in an Ajax response and then call that code through Ajax commands, because Drupal.ajax does not guarantee that the JS library will...
View ArticleAllow PHPUnit 5+ support
Problem/MotivationDrupal 8 should fully support PHP 7. PHP 7 includes the ability to type hint primitives, and explicitly declare the return type of methods:public function foo(string $bar) : string {...
View ArticleFile size of 0 is not set when file entities are saved
Problem/MotivationWhilst working on #1927648: Allow creation of file entities from binary data, I realised that the code in \Drupal\file\Entity\File::preSave does not allow a file with zero...
View Article'Force using fields' option in display options doesn't make a...
Problem/MotivationWhen enabling the option 'Force using fields' in the Views display options, this has no effect other then enabling the fields options. These fields are never actually rendered, nor do...
View ArticleConfig export key order for sequences: "orderedby" does not support...
Problem/Motivation#2361539: Config export key order is not predictable for sequences, add orderby property to config schema introduced predictable sequence ordering. It introduced orderedby: value and...
View ArticlePHP7 warning when uploading a user picture
Tested with PHP 7.1.6, when uploading a picture against a user the following warning appears:Warning: A non-numeric value encountered in user_validate_picture() (line 692 of modules/user/user.module).A...
View Articlephp 7.1 Warning: A non-numeric value encountered in theme_pager()
PHP 7.1 and Drupal commerce, navigating to /admin/commerce/orders to view orders generates the following warning:Warning: A non-numeric value encountered in theme_pager() (line 329 of...
View ArticleService container aliases do not work
Problem/MotivationSymfony's dependency injection container should allow you to shorthand aliases:services: service1: '@service2' This functionality is broken due to the rewrites in...
View Article