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

Introduce entity permission providers

Problem/MotivationRight now each content entity type needs to define its set of permissions from scratch, then declare a matching access handler. This is pure boilerplate, an entity type's permissions...

View Article


Make private file access handling respect the full entity reference chain

Problem/MotivationAccess to media files in the private file space is governed solely by 'view media' permission and publishing status. This means private assets are still visible, even if access to the...

View Article


MediaAccessControlHandler update/delete access reason contains not existing...

Problem/MotivationThe reasons returned when update / delete access is forbidden contain permissions that do not existProposed resolutionUpdate the reasons.Remaining tasksUser interface changesAPI...

View Article

Fix PHPStan L1 errors "@covers value foo references an invalid class or...

Problem/MotivationAmongst the current suppressions found in the PHPStan level 1 baseline, introduce by the adding of phpstan/phpstan-phpunit, is: @covers value foo references an invalid class or...

View Article

Fix PHPStan L1 errors "@dataProvider Foo related method not found."

Problem/MotivationAmongst the current suppressions found in the PHPStan level 1 baseline, introduce by the adding of phpstan/phpstan-phpunit, is: @dataProvider Foo related method not found..This issue...

View Article


[random failure] Curl error thrown for http in JSWebAssertTest

First time I've seen this particular random failure https://www.drupal.org/pift-ci-job/26293011) Drupal\FunctionalJavascriptTests\Tests\JSWebAssertTest::testJsWebAssert WebDriver\Exception\CurlExec:...

View Article

[PHPUnit 10] @dataProvider methods must be declared static and public

Problem/MotivationIn PHPUnit 10, data provider methods that are not declared static yield deprecation errors in PHPUnit runs likeThere were 2 PHPUnit deprecations: 1)...

View Article

Add note to log when site put into and taken out of Offline mode

It's useful to know when a site went into and came back out of maintenance mode, so it would be nice if this information was added to the admin log when it happened.

View Article


Set the toolbar to position fixed on mobile

Problem/MotivationDuring the usability sessions, some participants did not notice the toolbar on mobile, as struggled to get back to their administrative content area.When the toolbar was originally...

View Article


Unable to save '/' root path alias

Problem/MotivationThere is a very subtle bug in the alias storage from #2336597: Convert path aliases to full featured entities. Steps to recreateCreate a site with the standard install profile....

View Article

Replace substr($a, 0, $i) with str_starts_with()

Problem/MotivationPart of #3324560: Replace strpos/substr with PHP 8's str_starts_with() / str_contains() / str_ends_with().Proposed resolutionReplace most substr($a, 0, $i) == $b with...

View Article

Refactor Claro's system-admin--panel stylesheet

Problem/MotivationThis is a child of #3324398: [META] Update Claro CSS with new coding standards and part of #3254529: [PLAN] Drupal CSS Modernization Initiative.Steps to reproduceThe stylesheet at...

View Article

Image may be NSFW.
Clik here to view.

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

Problem/MotivationWhen creating media, it is currently not possible to save the form due to an error. The error message reads as follows: TypeError: implode(): Argument #1 ($pieces) must be of type...

View Article


"Restrict images to this site" restricts images that, by...

Problem/MotivationLocal SVGs are blocked when 'Restrict images to this site' is enabled for selected text format and result in broken SVG (/core/misc/icons/e32700/error.svg) with alt as "This image has...

View Article

Image may be NSFW.
Clik here to view.

Incorrect access denied messages in branding block

Error description refers to incorrect elementwhen a user does not have permission to edit the site name or slogan, an incorrect access denied message is displayed: "Defined on the Site Information...

View Article


Add "Add" item to toolbar.

Problem/MotivationAdding content is a critical function in Drupal. While we have added a tools block and a default shortcut for this EVERY OTHER MAJOR CMS puts an add or create content link in the MAIN...

View Article

When jQuery UI constrains tabbing it does not consider summary elements

Problem/Motivationinitially discovered here: #2977587-120: Improve block listing in Layout Builder by hiding uncommon block pluginsWhen jQuery UI traps focus inside a dialog, it determines the first...

View Article


UX review of the finished, semver-compliant update status report for how it...

Problem/MotivationCore's Update Manager recently got a lot of love to prepare for Drupal 9: - Contrib projects can potentially be compatible with multiple major versions of core. - Contrib projects can...

View Article

Refactor Claro's container-inline.module stylesheet

Problem/MotivationThis is a child of #3324398: [META] Update Claro CSS with new coding standards and part of #3254529: [PLAN] Drupal CSS Modernization Initiative.Steps to reproduceThe stylesheet at...

View Article

PostgreSQL: Support JSON and JSONB data types

Problem/MotivationI am trying to create a field type that leverages the JSON and JSONB data types in Postgres. My goal is to have a field that can store JSON objects who's properties can be indexed....

View Article
Browsing all 295389 articles
Browse latest View live


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