hook_update_N is not called
Debugging is using 8.1.1 while the patch is for 8.2.x. It would be nice to show how to reproduce this bug in 8.2.x but since it does not always occur I want to get it documented first. The PHP version...
View ArticlePHP Parse error: syntax error, unexpected ''][$fileIdentifier]
Problem/MotivationGetting the below error after run composer updatePHP Parse error: syntax error, unexpected ''][$fileIdentifier] =' in /var/www/project/vendor/composer/autoload_real.php on line 75...
View ArticleAdd Confirmation Page for theme uninstall
Problem/Motivation Theme uninstall does not show the confirmation page to show what are the configurations will be deleted or updated. Solution We have confirmation page for module uninstall. It will...
View ArticleOn PostgreSQL 9.1 after renaming one of the fields, the...
Problem/MotivationFollow-up of #2982755: Random failure in SchemaTest::testSchemaChangePrimaryKey with order of composite primary key.After renaming one of the fields, the...
View ArticleRedirect sensitive files to the webserver root
.htaccessRewriteRule ^(CHANGELOG|COPYRIGHT|INSTALL.*|LICENSE|MAINTAINERS|README|UPGRADE).txt$ / [L,R=301]
View ArticleAllow contrib test modules to not need a core or core_version_requirement key
Problem/MotivationIn order for a contrib project to be testable on Drupal 9 all the modules need to be marked as D9 compatible. This makes sense for the *real* modules provided by the project but it...
View ArticleError during install site with not available cache backend
Hey guys,I think in this case you do not need steps to reproduce. You will see it by your own on the code I guess. Open core/modules/system/system.install and go to row 314. There you will see that new...
View ArticleMedia library documents
The default settings for uploading a document with the media library could be improved, especially now we've got the wysiwyg media buttonThe default currently when you attempt to upload a new document...
View ArticleModal dialog style update
Originally submitted on GithubProblem/MotivationRecent interviews and research exposed pain points around Drupal's admin experience of looking and feeling dated.Proposed resolutionImplement new Dialog...
View ArticleRoute aliases don't work
The docs indicate that it should be possible to define a new route in *.routing.yml, but it doesn't work. The docs show that an alias should be defined like so:entity.contracts.collection: path:...
View ArticleAllow users to translate content they can edit
Problem/Motivation#253157: Add "Translate own content" permission, rename "Translate content" to "Translate all content" was committed in earlier versions of Drupal 8 which allowed users to translate...
View ArticleUndefined variable $terms in TaxonomyIndexTidUiTest
Problem/MotivationUndefined variable $terms in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.phpfor ($i = 0; $i < 3; $i++) { for ($j = 0; $j <= $i; $j++) {...
View ArticledefaultTheme deprecation warning should link to change record
Problem/MotivationI noticed that the deprecation warning about defaultTheme links not to the change record, but to the issue. I think it would be more helpful to link to the change record, which has...
View ArticleSplit up MediaLibraryTest
Problem/MotivationThis is step one of #3087227: [META] Split up and refactor MediaLibraryTest, to make the very large and disruptive MediaLibraryTest more manageable and docile.Proposed resolutionSplit...
View ArticleShortcut hook_toolbar implementation makes all pages uncacheable
Problem/MotivationIssue split from #2899392: user_hook_toolbar() makes all pages uncacheable.The shortcut implementation of hook_toolbar has a cache context per user. This causes the Dynamic page cache...
View ArticleEntity queries querying the latest revision very slow with lots of revisions
After upgrading to 8.4 we noticed a performance decrease on one of our sites. The page that is taking minutes to load is a multilanguage page with several field collections and revisions enabled.Some...
View ArticleUse READ COMMITTED by default for MySQL transactions
I've run into an issue as a part of #937284: DEADLOCK errors on MergeQuery INSERT due to InnoDB gap locking when condition in SELECT ... FOR UPDATE results in 0 rows. If for some reason the db_merge()...
View ArticleSummary hidden if Text field has Unlimited number of values
When you create a Field Type of Text (formatted, long, with summary) you get an option to check for Summary Input which allows you to have a field to explicitly set a Summary. This field is only...
View ArticleMapFieldItemList can lead to Fatal error: Nesting level too deep - recursive...
This also arises if you compare recursive objects using == instead of ===, in the case of MapFieldItemList is using == instead of === to compare values, this can sometimes include paragraphs and deeply...
View Article