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

Autoload classes of database drivers modules' dependencies

Problem/MotivationDatabase drivers that extend another database driver have to add the line with something like: include_once dirname(__DIR__, 8) . '/mysql/src/Driver/Database/mysql/Connection.php';....

View Article


Fix 'Access to an undefined property' PHPStan L0 errors

Problem/MotivationPHPStan baseline is currently skipping multiple Access to an undefined property errors.Proposed resolutionFix the errors, clean up the baseline.Remaining tasksUser interface...

View Article


Drupal Usability Meeting 2022-05-13

This meeting takes place every Friday at 14:00 UTC (currently 7:00am PT, 10:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...

View Article

Fix 'Cannot unset offset' PHPStan L0 errors

Problem/MotivationPHPStan is currently ignoring #^Cannot unset offset# errors.Proposed resolutionFix the issues and remove the ignore.Remaining tasksUser interface changesAPI changesData model...

View Article

Drupal Usability Meeting 2022-05-20

This meeting takes place every Friday at 14:00 UTC (currently 7:00am PT, 10:00am ET). See Time.is to see what that is in your timezone.The meetings are held using Zoom, and a link is posted in the #ux...

View Article


Set revision_default when publishing

Problem/MotivationWhen you publish an existing revision as the default one, revision_default field should be set to TRUE.Not doing so could lead to odd states for instance, after publishing a...

View Article

Remove dead code from JsonApiDocumentTopLevelNormalizerTest

Problem/MotivationFollow up #2922121: When fetching related resources, getResourceType() in CurrentContext gets the wrong resource type. to remove $this->markTestIncomplete('This fails and should be...

View Article

Changing view name does not update page title in views ui

Problem/MotivationChanging the administrative name in views ui does not update the active page title and gives the following js error: TypeError: response.siteName is undefined...

View Article


Image may be NSFW.
Clik here to view.

Theme's post updates within update.php refer to themes as...

Themes now support post update functions. See https://www.drupal.org/node/3259199However when visiting /update.php to process the theme's update function, it refers to the theme as a module. I expect...

View Article


Contextual links button should use aria-expanded instead of aria-pressed

Problem/MotivationThe contextual links button reveals a menu when pressed. The open/closed state is visually apparent, and this should also be conveyed to assistive technology, in a machine-readable...

View Article

Drupal 9 and 10's Drupal\Component composer.json files are totally out...

Problem/MotivationDrupal's components (in the namespace Drupal\Component) all have composer.json files for #1826054: [Meta] Expose Drupal Components outside of Drupal.For example, here's the Annotation...

View Article

Remove drupal/core-bridge component per deprecation

Problem/MotivationFrom change record https://www.drupal.org/node/3258656 we learn that parts of the feed.bridge.reader.service is deprecated.We see this deprecation notice in...

View Article

Consolidate SemVer-Related Functions To One Place

Problem/MotivationIn #3272110: Drupal 9 and 10's Drupal\Component composer.json files are totally out of date we might be adding yet another regular expression to manipulate semantic versions.It's...

View Article


Dialog drupalAutoButtons option should be respected on initial load

When a drupal form is opened in a dialog, the submit buttons are automatically turned into jquery ui dialog buttons. Sometimes this is not wanted and the drupalAutoButtons options is supposed to...

View Article

[META] Remove deprecated classes, methods, procedural functions and code...

Problem/Motivation#3213858: [META] Remove deprecated modules and themes from the Drupal 10 branch deals with removing deprecated modules. This plan issue is to deal with all the rest of the deprecated...

View Article


Update failed: system_post_update_sort_all_config, The configuration property...

Problem/MotivationWhen upgrading from 9.0.0 to 9.3.0, and running drush updatedb, I see the following error which prevents the database from being updated$ drush updatedb ----------...

View Article

Image may be NSFW.
Clik here to view.

Allow text field to enforce a specific text format

Problem/MotivationCurrently text fields can either be restricted to plain text, or the user may select between all accessible text formats independently of the context. This means that a privileged...

View Article


Image may be NSFW.
Clik here to view.

New translations for moderated nodes are not created in the initial workflow...

Problem/MotivationWe have defined a workflow with these states:DraftNeeds ReviewPublishedWe have two roles:author (Who creates content in draft and sets it to "needs review")admin (Who can transition...

View Article

PoItem::formatSingular doesn't add linebreak on untranslated strings

Problem/MotivationWhen using PoItem to export translation strings, the linebreak output differs between translated and untranslated strings.Steps to reproduce$untranslated = new PoItem();...

View Article

Image may be NSFW.
Clik here to view.

Allow TimestampFormatter to show as a fully cacheable time difference with JS

Problem/MotivationAs it turned out in #2500525: Time ago/hence date/time formatting breaks caching; needs appropriate max age and #2686409: Time Ago summary does not render on Manage Display for...

View Article
Browsing all 293317 articles
Browse latest View live


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