Warning: mb_strlen() expects parameter 1 to be string, array given
Problem/MotivationFrequently I find urls like:...
View ArticleProvide a FieldType and FieldWidget to represent a WebVTT file for the HTML...
Problem/MotivationThis task is part of the audio/video accessibility plan - #3002770: Provide authors with tools to manage transcripts and captions/subtitles for local video and audio.We want to...
View ArticleUpdateQuery::arguments() does not return all values.
Problem/MotivationWith reference to #1222150: dpq() only works for SELECT and INSERT queries (a devel module issue), an outstanding issue with the output of its dpq() function on...
View ArticleBroken auto creation of machine name field
Problem/MotivationAutomatic machine name creation fails.Expected resultExpected result of transformed text to machine name: Arbetsflöde -> arbetsflodeSåga i träd -> saga_i_tradResult returned of...
View ArticleRefactor (if feasible) uses of the jQuery prop function to use vanillaJS
Problem/MotivationAs mentioned in the parent issue #3238306: [META] Where possible, refactor existing jQuery uses to vanillaJS to reduce jQuery footprint, we are working towards reducing our jQuery...
View ArticleNotice: Undefined index: #type in Drupal\Core\Form\FormHelper::processStates()
Problem/MotivationProblemWhen #states is attached to a form element that contains #markup the following notice occurs:Notice: Undefined index: #type in drupal_process_states() (line 583 of...
View ArticleTimestamp field items are affected by 2038 bug
Problem/MotivationThe timestamp field item storage type is [signed] int, which is currently 4 bytes in most DB systems (MySQL and PostgreSQL, SQLite is not affected). This results in having values...
View ArticleMedia overwrites validation constraints
Problem/MotivationI am using media_remote module and wanted to add validation constraint plugin to one field for certain media/bundle combination. I realized that my validation constraint wasn't...
View ArticleEmpty table cells never hidden if twig debug is true
ContextUsing a view with table formatter, hide empty cells enabledtwig.config.debug = true in services.ymlProblemThe empty cells are all being output due to the added twig commentsProposed...
View ArticleReplace AccessResult::andIf() and ::orIf() with ::andIfCallable() and...
Tagging as cache subsystem because this is where it ultimately goes wrong when incorrect code is written.Problem/MotivationAccessResult::andIf() and ::orIf() each have possible combinations that make...
View Articleallow granular overriding of sql_mode options
Problem/MotivationIt's possible to override the sql_mode options by doing this in your database definition in settings.php:$databases['drupal6_csp']['default'] = array ( 'database' => 'drupal8',...
View ArticleLog error + visual warning for missing or broken block
Problem/MotivationIf a default layout has a custom block placed and overridden layouts exist, deleting the custom block from the default can trigger Error: Call to a member function getEntityTypeId()...
View ArticleJSON-based data storage proposal for component-based page building
Note: I'm opening this issue in the Drupal core queue for discussion, but I think any initial implementation should be done first in contrib, to make sure it's robust and well-tested in the wild before...
View ArticleUpdate 'lauriii' last name
Problem/MotivationMy last name changed from 'Eskola' to 'Timmanee'.Proposed resolutionUpdate MAINTAINERS.txt with the new last name.
View ArticleAdding a library without a version number causes 'Undefined index:...
drupal_get_library() will cause the following PHP notice if the library you are trying to get does not have an associated version number.Notice: Undefined index: version in drupal_get_library() (line...
View Articlecore.libraries.yml mis-implements moved_files syntax, redux
Problem/MotivationIn #3439580: Make drupal.tableheader only use CSS for sticky table headers, the tableheader.css library was moved and a moved_files key was added to core.libraries.yml using an...
View ArticleCall to a member function setSyncing() on null when installing a module
Problem/MotivationWhen updating config in an install hook it can produce a recreate changeset in the installer that creates a potential "delete" record which is invalid.Steps to reproduce- Install...
View ArticleSort::fields property is incorrectly defined as a string
Problem/MotivationIn \Drupal\jsonapi\Query\Sort, the property $fields is defined as a string, when it is an array. This causes IDEs such as VSCode to flag iteration of the array as an error when it is...
View ArticleEntityViewBuilder::getBuildDefaults doesn't respect the EntityInterface...
Problem/MotivationThe EntityViewBuilder::getBuildDefaults has an $entity parameter that should respect the EntityInterface.Yet in the getBuildDefaults() method there's a call on the $entity object to a...
View ArticleUndefined offset 1 in the MenuParentFormSelector.php
I have this fatal error on one of my sites when trying to call the core/lib/Drupal/Core/Menu/MenuParentFormSelector.php::parentSelectElement() method with an empty $menu_parent argument.
View Article