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

Fix spelling of words only misspelled in tests, function names, part 6

Problem/MotivationThis is for changes to function namesSteps to reproduceProposed...

View Article


Switch to border-box as default box-model (box-sizing)

Problem/MotivationClaro uses the default box-model "content-box", what causes unnecessary calculations for width and height (+ min-* & max-*) attributes.Proposed resolutionUse "border-box" as...

View Article


Add an entity iterator to load entities in chunks

Problem/MotivationIf you need to load a lot of entities and iterate over them (pretty common), your memory usage could easily go through the roof.For example, consider updating all nodes for some...

View Article

Fix deprecated assert_options() function usage for PHP 8.3

Problem/MotivationThe assert_options() is deprecated in upcoming PHP 8.3 so linter can't pass https://www.drupal.org/pift-ci-job/2719854- https://wiki.php.net/rfc/assert-string-eval-cleanupSteps to...

View Article

Image may be NSFW.
Clik here to view.

Autocomplete input text can visibly overflow under magnifier icon

Problem/MotivationIf an autocomplete input's text fills the input, the text will appear underneath the magnifying glass icon. This is also an issue in Seven, but may be less noticeable due to the size...

View Article


Article page UI issue

Problem/MotivationArticle page Ui issue Steps to reproduceCreate a content type Artcile . In body Keep entering AAAAAAAAAAAAAAAAAAAa....................................... Proposed resolutionUi Shoul...

View Article

UserAccessControlHandler::checkAccess() fails to add a user cache context...

Problem/MotivationUserAccessControlHandler::checkAccess() has this code:else if ($account->id() == $entity->id()) { return AccessResult::allowed()->cachePerUser(); } ... return...

View Article

Recent removal of jQuery.is() results in undefined element errors in...

Problem/Motivationin #3238849: Refactor (if feasible) use of jquery is function to use vanillaJS the jQuery is() function was phased out. In some cases the replacements didn't account for jQuery...

View Article


Make Description Field Labels Consistent

Problem/MotivationThe label for Descriptions fields are not consistent throughout the UI. Page URL Description Field Label Add comment type /admin/structure/comment/types/add Description Add content...

View Article


Missing #route_parameters on Properties

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...On this page #route_parameters attribute in missing on properties list. It's important to know about this if you...

View Article

Fix deprecated ReflectionProperty::setValue() usage for PHP 8.3

Problem/MotivationFollow-up to #3374223-29: Fix deprecated overloaded function usage in PHP 8.3 via #3375693-16: Fix deprecated assert_options() function usage for PHP 8.3There's 2 usages was not...

View Article

Password is null if user has never logged in which causes PHP 8 warning

Problem/MotivationWhen a user has never logged in and attempts to log in or users are primarily logging in via SSO. (In that case, they do not/may not have a password for local login.)these PHP 8...

View Article

Limit what can be called by a callback in form arrays

Problem/MotivationRecent security releases have shown that the render system needs to be stricter about what it allow to be called by a callback....

View Article


Javascript errors in entity-form.js when retranslate checkbox does not exist

Problem/MotivationThis seems to be a regression of #3238849: Refactor (if feasible) use of jquery is function to use vanillaJS. $checkbox is acessed, but unlike the check above, this one does not have...

View Article

Add $entity->toUrl() and $entity->toLink() methods to allowed methods...

Problem/MotivationIt would be wonderful to be able to access the toLink() and toUrl() entity methods directly inside a Twig template (like label(), id(), get*(), and a few others).Steps to reproduceTry...

View Article


Password is null if user has never logged in which causes PHP 8 warning

Problem/MotivationWhen a user has never logged in and attempts to log in or users are primarily logging in via SSO. (In that case, they do not/may not have a password for local login.)these PHP 8...

View Article

Image may be NSFW.
Clik here to view.

Link autocomplete may omit exact match

Problem/MotivationWhen typing a content title into a link field or a menu link, Drupal returns a list of 10 items that contain that phrase anywhere in the content title, sorted by creation date.The bug...

View Article


Process translation config files for custom modules

Problem/MotivationIt's possible to define a custom content type by placing necessary files into a custom module's directory structure under config/[install | optional]. One might also want that content...

View Article

Image may be NSFW.
Clik here to view.

Focus state bug on text field AJAX calls

Problem/Motivation#1824636: Do not move the cursor to the top of the page on ajax calls solved a form focus state issue where by default the focus state comes back to the form element after rebuilding...

View Article

Fix PHPStan L1 error "Variable $foo in/on something() is never...

Problem/MotivationAmongst the errors when running PHPStan on level 1 is: Variable $foo in/on something() is never defined.This issue exists to fix all of those and remove them from the suppressions in...

View Article
Browsing all 292633 articles
Browse latest View live


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