Fix spelling of words only misspelled in tests, function names, part 6
Problem/MotivationThis is for changes to function namesSteps to reproduceProposed...
View ArticleSwitch 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 ArticleAdd 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 ArticleFix 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 ArticleAutocomplete 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 ArticleArticle page UI issue
Problem/MotivationArticle page Ui issue Steps to reproduceCreate a content type Artcile . In body Keep entering AAAAAAAAAAAAAAAAAAAa....................................... Proposed resolutionUi Shoul...
View ArticleUserAccessControlHandler::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 ArticleRecent 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 ArticleMake 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 ArticleMissing #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 ArticleFix 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 ArticlePassword 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 ArticleLimit 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 ArticleJavascript 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 ArticleAdd $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 ArticlePassword 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 ArticleLink 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 ArticleProcess 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 ArticleFocus 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 ArticleFix 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