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

filter_autop() returns <br /> but should return <br> for HTML5

filter_autop currently inserts <br />. As we are moving towards html5 (#1388926: Remove all references to "self-closing" void elements in core) and remove all references to <br />. let's...

View Article


Twig debug output does not display all suggestions when an array of theme...

Updated: Comment #206Problem/MotivationTwig debugging output is supposed to show all template suggestions. Currently, the debug output does not show all the template suggestions that the Drupal render...

View Article


Using partially synchronized image fields causes validation errors and php...

Problem/MotivationThis seems to be a regression of #2644468: Multiple image upload breaks image dimensions.The patch in #33 also helps editors to translate image (media) entites when editing node...

View Article

Image may be NSFW.
Clik here to view.

Change the misleading and unclear wording in Pager -> Link display

Problem/MotivationThe current option summary for 'Link display' in the DisplayPluginBase class is unclear and can lead to confusion. This issue aims to improve clarity by updating the option summary...

View Article

docs for return values from various EntityDisplayRepositoryInterface() are...

Problem/MotivationSeveral methods on EntityDisplayRepositoryInterface - all the get*Modes() - have @return docs that say something like this: * @return array * The view mode info for all entity types....

View Article


Why does Route access checking differ from Entity access checking?

Today, I had to solve a problem which boggled my mind. I added a custom AccessCheck to the route 'entity.node.canonical', on top of the existing access check, and made it return...

View Article

Optimise Layout builder EntityViewDisplay

Problem/Motivation- Layout builder replaces the EntityViewDisplay class with LayoutBuilderEntityViewDisplay for all fieldable entities. It does not check if the entity actually uses LayoutBuilder. This...

View Article

"Content language and translation" form doesn't save...

Problem/MotivationI'm using a drupal 10.1.1 site that migrated from drupal 7, then 9Submitting the "Content language and translation" form (ContentLanguageSettingsForm) does not save the "Custom...

View Article


[PP-1] Expose Layout Builder data to REST and JSON:API

Problem/MotivationWhen accessing Layout Builder overrides via REST (i.e. when accessing an overridden entity's layout field), the contents of sections are empty.Proposed resolutionAdd a normalizer for...

View Article


Validate URL in homepage field

The validate function for the homepage field of a Comment form currently requires that the URL includes http:// - which is an outdated and non user friendly way of expecting someone to input their...

View Article

Links with query params with integer keys reset the keys

Problem/MotivationUsing the link field with a link like this: /my-page?myparam[2021]=2021 when printed looks like this: /my-page?myparam[0]=2021&myparam[1]=2021This is a problem when you try to add...

View Article

Views blocks that are disabled should not appear in block UI/layout builder

Views allows you to disable the entire view OR disable individual views displays.When the entire view is disabled, any blocks it provides will correctly not appear in block UI or layout builder. When...

View Article

str_contains(): Passing null to parameter #1 ($haystack) of type string is...

Problem/Motivationstr_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in docroot/core/lib/Drupal/Core/Mail/Plugin/Mail/PhpMail.php line 114

View Article


Deprecate unused constant BYTES_TO_READ in FileUploadResource and...

Problem/MotivationFollow up from #3380345: Create an InputStreamFileWriter for writing the input stream to a file we should deprecate the duplicate constants BYTES_TO_READ in both FileUploadResource...

View Article

Argument #1 ($elements) must be of type array, null given, called in core...

Problem/MotivationError met,The website encountered an unexpected error. Try again later. TypeError: Drupal\Core\Render\Element::children(): Argument #1 ($elements) must be of type array, null given,...

View Article


Fix strict type errors: Convert remaining usages of FormattableMarkup to...

Problem/MotivationSee parent(s). After #3404273: Fix strict type errors: Convert FormattableMarkup to strings (simple replacement) in core Functional tests and #3412464: Fix strict type errors: Convert...

View Article

Image may be NSFW.
Clik here to view.

Query string duplications

Problem/MotivationWhen an internal URL that contains an array query parameter is entered into a core Link field, those query parameters are duplicated when rendered. For example an entered value of...

View Article


Deprecate Drupal\Tests\TestRequirementsTrait::checkRequirements and...

Problem/Motivation@requires module xxxxx is not a supported syntax in PHPUnit 10, and its parser no longer processes it.The valid types of @requires are described here,...

View Article

Notice: Undefined offset: 1 en...

Problem/MotivationBulk operations in multiples nodes have this notice: Notice: Undefined offset: 1 en Drupal\Core\StringTranslation\PluralTranslatableMarkup->render() (línea 136 de...

View Article

Non-array values for #ajax

Problem/MotivationOur documentation specifies that #ajax items in render arrays must be arrays. RenderElement::preRenderAjaxForm() confirms this behavior. Yet in three places we set '#ajax' => TRUE...

View Article
Browsing all 302027 articles
Browse latest View live


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