Notice: Undefined offset: 0 in Field/FieldWidget/ImageWidget.php on line 122
I'm getting this image when attempting to add a conditional field - the target field being a name field from the name module and the controlled by field being a list field. This error follows a similar...
View ArticleNotice: Undefined offset: 0 in /Field/FieldWidget/FileWidget.php on line 195
I'm getting this image when attempting to add a conditional field - the target field being a name field from the name module and the controlled by field being a list field. Undefined offset: 0 in...
View ArticleDbLogTest fails consistently in local
Problem/MotivationI'm not entirely sure why this is, so this might be a bug or it might not.DbLogTest fails consistently locally, but doesn't show up as failing in branch tests.It fails because it...
View ArticleReplace use of whitelist/blacklist in \Drupal\Core\Extension classes and...
Problem/MotivationLets remove usage of "blacklist" and "whitelist" in \Drupal\Core\Extension classes and their testsThey are:An historic bad labelling of peopleProvide no context: "what is listed in...
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 ArticlecreateInstancesByTag creates all instances if tag not found
I was trying to get a list of migrations with a certain tag, but if the tag didn't match anything it seems all migrations are returned, whereas I would expect no migrations to be returned.So my code is...
View ArticleConvert content_moderation, workflows module hook_help() to topic(s)
Problem/Motivation#3041924: [META] Convert hook_help() module overview text to topics for the content_moderation, workflows module(s).Proposed resolutionTake the information that is currently in the...
View Article[backport] Replace usages of deprecated AssertLegacyTrait::assert(No)Option()
Problem/MotivationAssertLegacyTrait::assertOption() is deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->optionExists() instead. See...
View Article[PP-2] Implement a generic revision UI
Problem/MotivationAt the moment there is no generic revision UI, this means that every module with revisionable entities will need to create their own UI similar to the Node revision overview page...
View ArticleProvide an experimental module to replace jQuery UI autocomplete with...
Before going any further, know this: Much of the work on this task took place here: #2346973: Improve usability and accessibility of long select lists. It eventually became apparent that this needed...
View ArticleMenuLinkContent entities pointing to nodes are not deployable: LinkItem...
Problem/MotivationMenu link content entities when normalized contain references to node serial IDs (nid) and not UUIDs, this means they cannot be deployed. Snippet:... ], "link": [ { "uri":...
View ArticleDropbutton field pushed out of the table if no label set
I'm no advanced CSS freak, so I can't easily fix that, however when I add a "Global: Dropbutton" field to a view and don't set a long enough label, t is being pushed out of the table. Same happens if...
View ArticleIn Class ViewExecutable Rename Views properties to core standards
Part of meta-issue #2052421: [META] Rename Views properties to core standardsProperties to be changed:- public $build_info - public $current_page - public $items_per_page - public $total_rows - public...
View ArticlePassword length is 128 but error message says it is 255
Problem/MotivationWhile working on #1777270: Write tests for: Users with passwords over 60 characters cannot log in via the user login block I discovered some unexpected behaviour when logging in with...
View ArticleHide rewrite if empty is not working
Steps to reproduceSet up a content type with two optional text fields (text1 and text2).Make content with content in only text1.Configure view: Show fieldsAdd text1 and text2 fieldsConfigure text1 and...
View ArticleAdd stream wrappers to access extension files
Problem/MotivationStarting from #2351919: Replace uses of drupal_get_path() with __DIR__ where possible, when the PHP code needs to include or parse files inside the module or theme directory space,...
View ArticleViews UI with Javascript disabled is very broken
Problem/MotivationIf you disable javascript and visit the views ui to edit the frontpage view provided by standard then you see a very broken UI.Proposed resolutionRemaining tasksUser interface...
View ArticleThe AssertMailTrait should cast the data type to boolean in assertMailPattern
Problem/MotivationThe /core/lib/Drupal/Core/Test/AssertMailTrait.php() uses the result of the preg_match() function in assertTrue(). However preg_match() function returns 1, 0 or FALSE.protected...
View Article