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

Add missing type hint to TypedDataInterface::createInstance() method

There is a @todo note about this.@todo When \Drupal\Core\Config\TypedConfigManager has been fixed to use class-based definitions, type-hint $definition to DataDefinitionInterface....

View Article


Update Symfony response and request events to new classes

Problem/MotivationSymfony has deprecated a load of response and request event classes and we need to update to using the new names. There are no trigger errors because the classes are still part of the...

View Article


[Plan] Discuss strategy for long-term use of entity validation in the...

Problem/MotivationFollow-up from #2745797: Add option to content entity destinations for validation Relevant discussion at https://youtu.be/9rBkBl4uGlg?t=1265Discussion on whether we can make entity...

View Article

Allow Drupal 9.0.x multilingual install to work

Problem/MotivationOur installer is looking for http://ftp.drupal.org/files/translations/8.x/drupal/drupal-9.0.x.fr.po when we try to install Drupal 9.0.x in french.Proposed resolutionIf we get a 404...

View Article

ConfigInstaller::isSyncing is not reset before module preinstall

Problem/MotivationWhen modules are being installed during configuration sync, \Drupal::service('config.installer')->isSyncing() returns FALSE in hook_module_preinstall() implementations. This is...

View Article


Add upper PHP constraint to composer.json

Problem/MotivationAlthough Drupal contains checks against the minimum supported version of PHP, currently there are no checks to stop the user from running Drupal with a version of Drupal that is newer...

View Article

Allow customisation of permission to create user with blank email

In Drupal core, there is a single permission 'administer users' that controls whether a user can 'administer' the user account of another user. However the Drupal 8 Entity API makes it possible to...

View Article

\Drupal\editor\Ajax\EditorDialogSave::__construct() should typehint as an...

All the usages for new EditorDialogSave($values) is passing in $form_state->getValues(), but the phpdoc for the __construct() method and the $values property says it should be a string. That appears...

View Article


ConfigFactoryOverrideInterface::loadOverrides() missing array typehint

Documentation for ConfigFactoryOverrideInterface::loadOverrides requires an array argument, but api does not typehint.viainterface ConfigFactoryOverrideInterface { /** * Returns config overrides. * *...

View Article


Ensure that 'composer update' evaluates dependencies using the...

Problem/MotivationToday, whenever a patch includes an updated composer.lock file, the dependencies in that lock file are calculated using whatever PHP version the patch submitter happens to be using....

View Article

symfony/mime and symfony/var-dumper versions are on 5.0 (not an LTS) and...

Problem/Motivationsymfony/mime and symfony/var-dumper will be on v5 after committing #3088754: Update to Drupal 9 to Symfony 4.4.0. This issue will decide whether we want to constrain them in some way...

View Article

[policy, no patch] set miminum composer.json version constraints based on...

Problem/Motivationfrom @greg.1.anderson on #3091418: Update composer dependencies on 9.0.x following PHP 7.2 requirement. When we are bumping the Composer dependencies for a major Drupal version...

View Article

[META] Beta targets following Drupal 9.0.0-beta1

Problem/MotivationIn #3079680: [META] Requirements for tagging Drupal 9.0.0-beta1, we define must-haves and should-haves for tagging beta1. Some should-haves may cause Drupal 9.0.0-beta1 to be deferred...

View Article


Add a way to silently keep an item locked when processing a queue via cron

Problem/motivationWhen processing items in a queue, sometimes it is useful to delay further processing of an item due to uncontrollable external circumstances. Unfortunately, this isn't possible with...

View Article

Replace assert* involving count() and an integer literal with assertCount()

Problem/MotivationAs titleProposed resolutionUsing the regex mentioned in #4 to search and replace them or adding a sniff if necessaryRemaining tasksUser interface changesAPI changesData model...

View Article


Use progressive disclosure on sort direction element of entity reference fields

Problem/MotivationThis is an add-on to #3089523: Use progressive disclosure to hide Sort options on entity reference fields until bundles are selected and #2900409: [Meta] Improve UI of Reference field...

View Article

Drupal Usability Meeting 2020-04-28

This meeting takes place every Tuesday, usually at 14:00 UTC (10:00am ET, 7:00am PT). 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


Image may be NSFW.
Clik here to view.

Change UI for /admin/reports/updates/update to not mention...

Problem/MotivationDiscovered while working on #3113992: The 'Update' page has no idea that some updates are incompatibleDrupal 8 no longer has the notion of "disabled modules". Either they're installed...

View Article

Make Typed Data actually typed

Problem/MotivationThe Typed Data API has a getCastedValue() method for its primitives because PHP < 7 didn't have strict typing capabilities for scalars.We should be able to deprecate it and add...

View Article

Remove technical debt and complication from when doTrustedCallback() could...

Problem/MotivationIn #2966327: Limit what can be called by a callback in render arrays to reduce the risk of RCE, deprecation notices were added when untrusted callbacks were used in render arrays.Do...

View Article
Browsing all 291692 articles
Browse latest View live


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