Date field doesn't allow attributes
My custom form date field is set up as follows:$form['right']['validfrom'] = array( '#type' => 'date', '#title' => $this->t('Start date'), '#description' => $this->t('The beginning...
View ArticleDocument that Database/Connection::escapeLike() does not work when used with...
Document that you cannot use the method \Drupal\Core\Database\Connection::escapeLike() in the query builder methods \Drupal\Core\Database\Connection::query() and...
View ArticleCodespell report for Drupal 8.8.0
The FOSS server fossies.org offers a new feature "Source code misspelling reports":https://fossies.org/features.html#codespellAlthough such reports are normally only generated on request, as Fossies...
View Article[Drupal 9] Update autloader-suffix in composer.json
Currently it is still set to "Drupal8".
View ArticlePhpUnit make test results more developer friendly
One thing I am always missing when running tests through command line is finding HTML output file by URL of HTTP request logged in it. I propose adding a meaningful label above each reference on HTML...
View ArticleCreate classy directory with README, in the templates directory for all...
Problem/MotivationAs detailed in #3050389: Remove dependency to Classy from core themes, Classy will be moved to contrib before Drupal 9 and we have to remove dependencies on Classy from all core...
View ArticleAdminNegotiator::determineActiveTheme() does not adhere to the interface
Problem/Motivation\Drupal\Core\Theme\ThemeNegotiator::determineActiveTheme() only checks for NULL so \Drupal\user\Theme\AdminNegotiator::determineActiveTheme() should return NULL when the admin theme...
View ArticlePath alias filter by system path
Problem/MotivationCurrently core's Path modules allows to filter url aliases only by alias itself. It is often required to filter by system path, instead of alias. The only solution I use is to query...
View ArticleExperimental modules should not have warnings after being installed
Problem/MotivationBack in #2657178: Warn about experimental modules on their help pages there was an issue to add warnings in three places once an experimental module is installed. During installOn the...
View ArticleAllow trailing slash to be added for home page
Some SEO experts expect trailing slash on all the urls, including home page. Currently this is possible for all the urls but home page.Offending code is in...
View ArticleMissing url prefix on language neutral content
What are the steps required to reproduce the bug?Install a new Drupal instanceAdd an additional language (e.g. italian)Use URL negotiation and configure path prefixes (e.g. /en for english and /it for...
View ArticleError: Call to a member function getLabel() after enabling layout_builder
Existing drupal 8 site (upgraded from 8.2.x to 8.3, 8.4, 8.5). Current version 8.5.5 . If I enable layout_builder, then:Error: Call to a member function getLabel() on null in...
View ArticleloadUnchanged() should check the id
ContentEntityStorageBase::loadUnchanged() implies that its argument is a valid entity id, but never checks it. Supplying, eg, NULL as an argument can lead to a number of side-effects, such as resetting...
View ArticleAdd allowfullscreen attribute for remote media rendered in Iframe
The properties of the upper iframe are missing the allowfullscreen = "" property. Therefore, full-screen mode will not work with remote videos.
View ArticleMigrations fail due to missing dependency when dependency is clearly not...
Problem/MotivationWhen running a migration via one or more drush commands, the dependencies between the migrations are not being recognized as successfully met, even if they have completed...
View ArticleDatabase reserved keywords need to be quoted as per the ANSI standard
Problem/MotivationOver many years Drupal has held off checking queries for reserved words in column names, table names and aliases because it was a design decision. The idea is that we just just should...
View ArticleContentEntityStorageBase::loadRevision() should use the static and the...
Problem/Motivation#597236: Add entity caching to core added the entity cache to core, but unfortunately it did not consider enabling it when loading an entity by revision ID. There are contrib modules...
View Articlelink with data-dialog-type="modal" doesn't work for external...
Im using drupal 8.7.8I can open a url on my site in a dialog with:<p><a class="use-ajax" data-dialog-options="{"width":800}" data-dialog-type="modal"...
View ArticleAdd a new Drupal.theme JavaScript function for theming the the show/hide row...
Problem/MotivationDrupal core's tabledrag.js uses a hard-coded markup for the tabledrag toggle height markup and its wrapper div that are not overridable by themes.Proposed resolutionIntroduce new...
View Article