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 ArticleAdd 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 ArticleMethod 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 ArticleError 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 ArticleUpdate 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 ArticleSDC 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 ArticleSubmitting 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 ArticleClass "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 ArticleAllow 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 ArticleTransactions 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 ArticleAdd 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 ArticleWhen 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 ArticleMedia 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 ArticlePrefer 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 ArticleDeprecate 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 ArticleBreadcrumbManager 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 ArticleAdd 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 ArticleManagedFile 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