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

Replace lazy service proxy generation with service closures

Problem/MotivationAs discussed in #3228623: DX: Creating lazy services is too difficult/obscure/bespoke/brittle the DX for our current lazy service proxies is poor. We tried using symfony lazy services...

View Article


Add JSON:API Translation experimental module

Problem/MotivationSplit from #2794431-121: [META] Formalize translations support. Postponed on #3199696: Add language support to ResourceObject.Steps to reproduceProposed resolutionRemaining tasksWrite...

View Article


Method getMockForAbstractClass() is deprecated - replace in class...

Problem/MotivationMethod getMockForAbstractClass() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.Some uses were removed as part of #3217904: [meta] Support PHPUnit 10 in Drupal 11,...

View Article

Error findding icon

Problem/MotivationHello, I get a message asking for : /themes/core/misc/icons/ee0000/required.svg The directory core does not exists in "themes".RegardsJP P

View Article

Image may be NSFW.
Clik here to view.

Update file usage number when deleting a node with a translation

Problem/MotivationAfter deleting a node's translation, the 'Status' and 'Used in' values of the Files list (/admin/content/files) won't be updated.Steps to reproduceUse case 1: File usages in...

View Article


SDC components CSS & JS generated wrong url in windows / XAMPP

Problem/MotivationI create some SDC components, when using theme, the js and CSS file not load correctly. I got error in chrome console. this is the url generated by...

View Article

Submitting a form during an ajax request or before ajax is triggered results...

Problem/MotivationAjax elements are temporarily disabled to prevent the user from changing the element’s value during an ajax request. The change event is triggered when the field loses focus. If the...

View Article

Class "Doctrine\Deprecations\Deprecation" not found

Hello and thanks for all the efforts,Problem/MotivationAfter updating to 10.4.0-rc1, I've started receiving the error message below:Error: Class "Doctrine\Deprecations\Deprecation" not found in...

View Article


Allow returning explicitly to the prior nesting level in transactions (aka...

Problem/MotivationRight now, a Transaction object in Drupal leads to a COMMIT or a RELEASE SAVEPOINT only when it goes out of scope. In practice, it's an autocommit.We have code like try { $transaction...

View Article


Transactions should be allowed to be committed explicitly

This is a fork from this issue. Based on the snippet from Database abstraction layer shown below, a commit will be done automatically when $txn goes out of scope.function my_transaction_function() { //...

View Article

[PP-1] Convert all transactions to explicit COMMIT

Problem/MotivationFollow up of #3398767: Allow returning explicitly to the prior nesting level in transactions (aka allow explicit COMMIT in Transaction objects).In the parent issue we introduced the...

View Article

[meta] Drop implicit autocommit on Transaction destruction

Problem/MotivationAs described in numerous issues (see related), it is desirable to drop the auto-commit of database transactions during the destruction of Drupal's Transaction objects.This meta issue...

View Article

Add transaction-related events to the Database API

Problem/MotivationNow that #3313355: Allow the database query log to be dispatched as log events has laid down a framework to dispatch events from the Database API, it could be interesting to think...

View Article


When migrating d7_file, the source_base_path does not work in any case

Problem/Motivation- Migration of a Drupal 7 project to Drupal 10 - using the Migrate Drupal core module and other modules (Migrate Drupal UI, Migrate Plus, Migrate Upgrade, Migrate Devel)The migration...

View Article

Media and Media Library move procedural hooks and mark as converted

Problem/MotivationFollow-up from #3494908: Mark several more modules as converted. Let's make the changes we need to make to mark the remaining modules. Modules that implement hooks that cannot be...

View Article


Prefer to replace minimist with util.parseArgs() from Node.js scripts in core

Problem/MotivationCurrent Node.js can parse command-line arguments with util.parseArgs(). Drupal core uses minimist for CSS building and some Nightwatch tests. Some Nightwatch tests use minimist to...

View Article

Deprecate comment_uri()

Problem/MotivationPart of #2010184: [meta] convert ‘uri_callback’ entities param to EntityInterface::uri() methodCurrent state: the functions is not used after #1970360-78: Entities should define URI...

View Article


BreadcrumbManager ignores cacheability when no builders apply

Problem/MotivationSince #2719721: BreadcrumbBuilder::applies() mismatch with cacheability metadata, the cacheability of whether breadcrumb builders should apply is now gathered. That's great - but in...

View Article

Add thousands separator to Views result summary

Problem/MotivationViews allows for a result summary to be added to a view's header or footer which by default follows the format:Displaying @start - @end of @totalOn views with thousands (or more)...

View Article

ManagedFile element wrong #accept assignment

Problem/MotivationManagedFile element has wrong #accept assignment$element['upload']['#attributes'] = ['accept' => $element['#accept']];It removes previously set attributes.Steps to reproduce if...

View Article
Browsing all 295290 articles
Browse latest View live


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