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

Problem with element_children method when weight is not scalar

Problem/MotivationIn the common.inc a recent change made in https://www.drupal.org/node/2756297 causes errors. There used to be a scalar check but now the value of weight could be anything. This was no...

View Article


Requesting a page with ?page[foo]=bla results in a fatal error on PHP 8+

Problem/MotivationThe code assumes that page is a string, passing in an array results in a warning on PHP 7 and a fatal error on PHP 8. We discovered this because a security scanner on one of our...

View Article


Let GDToolkit support AVIF image format

This issue is currently postponed on:Bots having PHP instances that can fully support AVIF files - currently the bots' PHP, 8.1 and 8.2, cannot save files via imageavif(), the (bundled?) GD library is...

View Article

Enforce the use of CSS Logical Properties in core

CSS Logical Properties enable one-line CSS declarations that work in both left-to-right and right-to-left languages. Instead of writing .selector { padding-left: 10px; } [dir="rtl"] .selector {...

View Article

JQuery UI theme.css: Interaction States Bug

Comment #0Problem/MotivationThere is a bug in JQuery UI CSS Framework 1.8.7. On line 33..ui-widget :active { outline: none; }This was causing several pages to freeze on Chrome, Moz, and IE. I...

View Article


Invalid PostCSS causes invalid CSS within new off-canvas CSS

Within the new PostCSS for the off-canvas dialog, we neglected to include an ampersand (&) within a nested PostCSS block (see...

View Article

login URL is appending /user/0/password?destination=user/login

We are currently working on migrating to Drupal 9.4.x, but we still have support our current instance of Drupal 7. I know it has reached end of life, but we are working on migrating.In the mean-time,...

View Article

Use PHP attributes for route discovery

Problem/Motivation@todo more info.Do route discovery inspired or using Symfony's #Route PHP attribute.Proposed resolutionRemaining tasksUser interface changesAPI changesData model changesRelease notes...

View Article


Methods in BookOutlineStorage need node access warnings in docblocks

Problem/MotivationThere are queries in BookOutlineStorage, returning node IDs among other information, that do not invoke node access checks. This is on purpose, since the node access checks are done...

View Article


Add example to core Block API documentation

Problem/MotivationUnlike many other pages of core documentation, the Block API documentation doesn't contain a worked example.Compare:*...

View Article

Fix 'Drupal.Commenting.TodoComment' coding standard

Problem/MotivationDrupal core doesn't fully follow the @todo formatting guidelines.https://www.drupal.org/docs/develop/standards/api-documentation-and-comm...Steps to reproduce Add this sniff to...

View Article

Wrong image size because of bug in 7.91

Problem/MotivationSince update to 7.91 every new uploaded image will only shown partly. After reload the image is loaded correctly - but with reverse proy this is a big problem. This happens in private...

View Article

Apply .prettierrc.json at top level for DX purposes

Problem/MotivationThe core/.eslintrc.json is extended into a top-level .eslintrc.json:{ "extends": "./core/.eslintrc.json" }However, core/.prettierrc.json is used by eslint-plugin-prettier and is not...

View Article


JS closure results in "Unexpected unnamed function" warning from...

I was attempting to use the core .eslintrc.json to lint the JS of a project I'm on and ran into what I believe is a bug or at least a conflict with the documented coding standards.It seems the...

View Article

Image may be NSFW.
Clik here to view.

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 Article


SQLite database locking errors cause fatal errors

Problem/MotivationSQLite does not support row level locks, so when it executes a write statement it locks the entire database. Because of this, SQLite tries to minimize the amount of time it holds a...

View Article

Resolve issue with tests for Drupal Media JavaScript causing database locks...

Problem/MotivationThe FunctionalJavaScript tests for the Media module frequently fail on SQLite with:SQLSTATE[HY000]: General error: 5 database is locked This seems to occur primarily in three...

View Article


[Meta] Bug Smash Initiative triage fortnight commencing 2022-09-27

Meta for triage credit, please note: you only need to add a comment for one issue that was triaged and closed, not every one.Remember to add the tag 'Bug Smash Initiative' to issues that are triaged.

View Article

locale_config_batch_update_components() is prohibitively slow with large...

locale_config_batch_update_components() is very time-consuming on installs with large amounts of config and/or languages. I'd like to discuss if it is possible to move the batches created by this...

View Article

Bring back temporary tables (Connection::queryTemporary())

Problem/Motivation The Connection::queryTemporary() was removed in D10 (https://www.drupal.org/node/3211781) and no replacement functionality was added. This is an issue since certain contrib modules...

View Article
Browsing all 298144 articles
Browse latest View live


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