EntityDisplayBase::createCopy() naïvely assumes that the duplicate...
Problem/MotivationAs a follow up for the issue "Entity displays cloning requires special config action" and inspired by "Consider making the cloneAs config action optionally fail if the clone already...
View ArticleWarning: Undefined array key "name" in...
Problem/MotivationWhen I do a cache rebuild I get an error called: Warning: Undefined array key "name" in Drupal\language\Plugin\Derivative\LanguageBlock->getDerivativeDefinitions() (line 27 of...
View Articleincorrect docs for EntityContentBase 'translations' configuration...
Problem/Motivation * - translations: (optional) Boolean, indicates if the entity is translatable, * defaults to FALSE. This doesn't seem right.AFAIK, you set this to FALSE for the migration that...
View ArticleEnabling aggregation breaks views with "Moderation state" fields
ProblemSteps to reproduceEnable content_moderationAssign a workflow to a node bundleCreate a new node view and add a "Moderation state" fieldEnable aggregation and execute the...
View ArticleNo error output in Nightwatch if the ./scripts/test-site.php produces the...
Problem/MotivationIf your testing module produces the "Parse error" on the Drupal install stage, sometimes you don't see this error text in the Nightwatch output.Steps to reproduce1. Run a Nightwatch...
View Articleupdate-countries.sh inadvertently broken by Issue #3328454
Problem/MotivationWhile attempting to run the update-countries.sh script with an appropriate territories.json file, the resulting CountryManager.php file consisted of country codes mapped to t()...
View ArticleProvide config action to set editor plugin configuration
Problem/MotivationAt the moment there is only 1 config action for editor (actually only for CKEditor5 in its corresponding core module) addItemToToolbar that adds the item to editor toolbar. In case...
View ArticleReplace @inheritdoc annotations with #[\Override]
Problem/MotivationPHP 8.3 introduced the Override attribute which, in general, is a signal to the PHP compiler that a method is intended to override a parent method of the same name or implement an...
View ArticleChange automatic body field creation to use formatted text field instead of...
Problem/Motivation#3447617: Stop automatic storage creation of body field will not make it in by the Starshot release, so we need to consider what is the least disruptive in the meantime.Proposed...
View ArticleDefaultExceptionHtmlSubscriber should not clone the request for...
Problem/MotivationThis was originally reported to the security team but was cleared for a public issue.DefaultExceptionHtmlSubscriber clones the original request when making a subrequest to display 401...
View ArticleRestore cursor position on #ajax 'input' or 'keyup' event
Problem/MotivationWhen using #ajax with the 'input' event (same with 'keyup') on a text field to replace the field itself, the cursor position is getting lost so the cursor is reset to the beginning of...
View ArticleAJAX focus does not work with multiple forms of the same type
Problem/MotivationThe Drupal AJAX re-focus logic does not work if the relevant form is instanced multiple times on the same page.Only the first instance is automatically focused.Steps to reproduceOn a...
View ArticleAdd a config action to remove effects from image styles
Problem/MotivationCreate a config action to remove effects from image stylesSteps to reproduceProposed resolutionCreate a config action that accepts the uuid of an effect and removes it from the image...
View ArticleOlivero: Prevent violation of data protection regulations
Problem/MotivationOlivero Theme sets every time the localStorage item Drupal.olivero.stickyHeaderState. Storing data in user's browser (no matter if cookie, localStorage or sessionStorage) requires in...
View ArticleField Formatters for empty fields do not render with layout builder
Problem/MotivationData within the field does not show on nodes with layout builder enabled. It does show in the Layout Builder form, but not on the node view. The field value is empty and that's when...
View ArticleRemove oEmbed security warning
Problem/MotivationAs documented in #3208830: [policy, no patch] Secondary subdomain for viewing oEmbed content is confusing and pointless:When the oEmbed system was added to the core Media module, one...
View Articletwig callable attribute syntax error
After an update i got :twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Attribute "twig_callable" does not exist for Node...
View ArticleDrupal\Core\Config\UnmetDependenciesException: Configuration objects provided...
Problem/MotivationInstallation dialog 11.0.5Steps to reproducecd /var/www/vhost/dpl.tryx.org composer create-project drupal/recommended-project /var/www/vhost/dpl.tryx.orghttps://dpl.tryx.org...
View Articletwig callable attribute syntax error
After an update i got :twig\Error\SyntaxError: An exception has been thrown during the compilation of a template ("Attribute "twig_callable" does not exist for Node...
View ArticleDefine the 3 areas the Top Bar will provide
Problem/MotivationCurrently the Top Bar renders the the local tasks. But there is no logic, order or even an standardized way to add elements to it. Proposed resolutionProvide 3 delimited regions where...
View Article