Quantcast
Channel: Issues for Drupal core
Browsing all 295192 articles
Browse latest View live
↧

[META] Convert use of InvocationMocker::withConsecutive()

Problem/MotivationIn #3306554: InvocationMocker::withConsecutive() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10 Drupal created a workaround that mimics the behavior or...

View Article


Select form element does not use #default_value for single-option select

I just had a read through the code of the Select FormElement in the Drupal core, and it appears to me that you cannot use the "#default_value" key to, well, assign a default value to the elementThe...

View Article


Site dead after upgrade from 9.x to 10.x

After follow the instruction from this page https://www.drupal.org/docs/upgrading-drupal/upgrading-from-drupal-8-or-later/how-to-upgrade-from-drupal-9-to-drupal-10 everything looks all right during the...

View Article

DependencySerializationTrait depends on removed __PHPUNIT_BOOTSTRAP global

Problem/Motivation__PHPUNIT_BOOTSTRAP was removed along with all globals in PHPUnit 10. DependencySerializationTrait relies on it to "fix" tests.This was added as part of #2553655: Convert...

View Article

Provide API for rerendering drupal-media through drupalElementStyles

Problem/MotivationDrupal's CKE5 integration for Drupal Media entities provide an API to declare extra element styles that can be added to a <drupal-media> element. For example, data attributes...

View Article


[meta] Support PHPUnit 10 in Drupal 10

Problem/MotivationPHPUnit 10 was released on Febryary 3, 2023. Drupal will need to make changes to support it in future release.Proposed resolutionThere are a number of changes that Drupal will have to...

View Article

Provide an optional destination parameter for local actions

Problem/MotivationCurrently local actions do not provide a destination which results in an inconsistent UX because users expect to return to the page where they clicked the button.Steps to...

View Article

Drupal\views\EntityViewsData::mapFieldDefinition() Error 10.1.x

After upgrading from 10.0.x to 10.1.x the site fails to load with the following error:TypeError: Drupal\views\EntityViewsData::mapFieldDefinition(): Argument #5 ($data) must be of type array, null...

View Article


Fix strict type errors in unit tests

Problem/MotivationThis is a child issue of #3376057: [META] Add declare(strict_types = 1) to all tests. After adding enabling strict types to all tests there were around 3000 errors. Fixing them all in...

View Article


Add validation constraints to media.settings

Problem/MotivationMedia settings has 1 property path that is not yet validatable:$ ./vendor/bin/drush config:inspect --filter-keys=media.settings --detail --list-constraints...

View Article

Hyphenate words that start with un- that are flagged by standard dictionaries...

Problem/MotivationParent issue contains a list of words that are flagged by cspell that start with un- that should be dealt withProposed resolutionHyphenate the words as follows:unaliased ->...

View Article

[META] Make Drupal 7 core compatible with PHP 8.3

Make Drupal 7 compatible with PHP 8.3, which is released on 23 November 2023.https://www.php.net/releases/8.3/index.php

View Article

[D7 PHP 8.3] TextSummaryTestCase::testLength() fails on some libxml versions

Problem/MotivationOn libxml 2.9.14 there is a difference in DOMDocument::loadHTML() behavior. The failures are not present in PHP 8.3 with libxml 2.9.10 (tested in Debian bullseye vs...

View Article


Deprecated function: strnatcasecmp(): Passing null to parameter #1 ($string1)...

Problem/MotivationDeprecated function: strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in Drupal\Core\Layout\LayoutPluginManager->Drupal\Core\Layout\{closure}()...

View Article

TypeError: array_keys(): Argument #1 ($array) must be of type array, string...

Problem/MotivationPrevious exports of fields with allowed_values_function exported with Features had set the value of the field settings like this:array ( 'allowed_values' => '',...

View Article


Adding escaping for the GROUP BY fields broke ROLLUP support

Problem/MotivationBy fixing #3191623: Select queries do not escape the GROUP BY fields, the support for the ROLLUP modifier in a GROUP BY clause has been removed.After updating from Drupal 9.5.2 to...

View Article

[upstream] CKEditor 5 PasteFromOffice plugin should not allow MS Office/Apple...

Problem/Motivationckeditor5 PasteFromOffice plugin not working without "Limit allowed HTML tags and correct faulty HTML" turned on. Not sure, if this is by design or this is an issue. From my...

View Article


[meta] Priorities for 2023-12-06 release of Drupal 7

Assorted todo lists carried over from #3325849: [meta] Priorities for 2023-06-07 release of Drupal 7.These are not necessarily in priority order.Top priorities#3378257: harden D7 against PHP Gadget...

View Article

[D7] Improve cron logging

Follow-up to #2716073: Improve cron logging ; D7 back port.Problem/MotivationCron execution is tricky in Drupal, as it can fail for multiple reasons:One particular hook_cron() requires too long, so its...

View Article

Image may be NSFW.
Clik here to view.

Add reusable option to inline block creation

Problem/MotivationWe are now able to create inline blocks from the Layout Builder but they are always set to non-reusable. It would be nice to have a checkbox to decide of the block should be reusable...

View Article
Browsing all 295192 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>