Cannot submit form containing decimal (20/10) field with manual value
Problem/MotivationWhen having a a Number (decimal) with precision of 20 and scale of 10 it's impossible to submit manually entered values like 1.0 100.0 aka >= 1It seems impossible to enter values...
View ArticleSimplify AllowedValuesConstraintValidator::validate
AllowedValuesConstraintValidator::validate is more complex than it needs to be. Attached patch refactors this method to improve clarity and maintainability. The following things have been...
View ArticleClean up images used in the Seven theme
Problem/MotivationProposed resolutionThere are quite a few images in the Seven theme that are either not being used or could be replaced by Libricons.Remaining tasksFor each image, check it is not...
View ArticleReplace \Drupal:: with $this->container->get() in test classes of...
Problem/MotivationCalls to \Drupal:: within core module test classes need to be replace so that they use the $this->container fixture.This issue is the child of parent issue: #2066993: [meta]...
View ArticleClean up locale CSS inline with our CSS standards
Problem/MotivationSee: #1995272: [Meta] Refactor module CSS files inline with our CSS standardsProposed resolutionThe page in question can be seen on admin/reports/translations after language modules...
View ArticleUse number FAPI element in number field settings form
The decimal field storage settings and decimal field formatter use a select dropdown list instead of the HTML5 number input type.. This prevents the use of mobile-optimized number entry methods (and...
View ArticleIncrease menu title maxlength to 255 in forms containing menu items
Forms in menu_edit_item() and menu_form_node_form_alter() functions do not specify #maxlength for menu link titles, so the default of 128 characters is used. Menu item title can contain 255 characters...
View ArticleConvert '_none' option to a constant
Problem/MotivationThe string _none is repeated throughout the module and tests, using a constant makes it easier to refactorProposed resolutionConvert _none to a constant.Remaining tasksWrite a patch...
View ArticleCalling node_view for the same node with multiple view modes on the same page...
Updated: Comment #80Problem/Motivation(needs better problem description) When vocab is set to show on full node, but not teaser, when previewing get an error because the preview shows both the full...
View ArticleTypo with #theme_wrappers
API page: https://api.drupal.org/api/drupal/includes%21form.inc/function/theme_con...The documentation states:Can also be used as a #theme_wrapper for any renderable elementShould be "#theme_wrappers"...
View ArticleConfig schema fails to expand dynamic top-level types
Problem/MotivationConfig schema provides several different means for dynamic schemas. However, they do not seem to work for the type of a top-level item.See #2391925: Ensure page_manager config schema...
View Articledependencies[] for themes, so they can depend on modules
Problem/MotivationParsing .info files for dependency information is already implemented on the modules administration page. Adding support for the same dependencies in theme.info files, and...
View ArticleSystemInfoController::status - wrong documentation
https://api.drupal.org/api/drupal/core%21modules%21system%21src%21Contro...The callback returns render array not a string as stated in documentation. I would also change description of the return value...
View ArticleImageStyle::createDerivative should return fail if one of the style's...
Follow-up to #2359443: Allow creating image derivatives from an Image objectProblem/MotivationFrom #2359443-17: Allow creating image derivatives from an Image object:+++...
View ArticleWrite tests for the scenario where an entity that references a deleted file...
This is a followup for the tests suggested in #1443158-2: file_field_presave assumes that a file object has been loaded which were never written as part of that issue.
View Articlefile_field_presave assumes that a file object has been loaded
file_field_presave assumes that the file_load has been successful instead of assuming that it has. This adds a check to makes sure that something has been returned.
View ArticleRemoving unused variables
in file : core/lib/Drupal/Core/Field/WidgetBase.php, /core/lib/Drupal/Core/Theme/ThemeInitialization.php un used local variables
View ArticleMake sure the menu links to 404 pages (e.g. due to bad route parameters) are...
Problem/MotivationAt least in some cases, it's possible to have a link to e.g. user/23 where the user had been deleted but at least for admins the link is still rendered.Proposed resolutionThis will...
View ArticleUnable to add new content with empty upgraded image/file field
If I am posting this in the incorrect place, please direct me to the correct issue queue.In our D6 site, we were using IMCE CCK Image with IMCE browser. I used imceimage_2_filefield to convert to...
View ArticleFlexible TokenQuery for image derivatives
Following the discussion in #1358896: Flexible scheme and URI for image derivatives I'd like to add an hook_image_style_uri_token_query_alter() invocation to allow third part modules to alter the...
View Article