Make fallback date format editable rather than hard coding to US notation
Problem/MotivationDrupal has a "Fallback date format" which always uses the US notation: MM/DD/YYYY With Drupal being used a lot in non US projects this is actually a problem since the fallback format...
View ArticleFrontpage: Refactor cross-origin link on homepage
When I run the homepage through chrome's lighthouse auditing tool.I see this warning Add `rel="noopener"` or `rel="noreferrer"` to any external links to improve performance and prevent security...
View ArticleWorkflow and text for installing themes is confusing
The Appearance page user interface text is confusing. The button reads "Install new theme"; yet, once that operation is completed, the theme is displayed under a heading entitled "Uninstalled themes"...
View ArticleIllegal string offset '_original_delta'
Problem/MotivationIn a node add form with a entity reference field (Inline Entity Form - Complex widget), after a click on "Add new taxonomy term", the AJAX request had this following warning in the...
View ArticleMaxlength validation counts newlines twice
Steps to reproduceAdd a maxlength attribute to a textarea and set it to 400Write a text with new lines with exactly 400 characters including some new lines where every new line counts as 1 character...
View ArticleEmpty rounded numeric fields not hidden properly
Problem/MotivationI have a numeric field that holds pricing data. If the pricing data in the database is 0.00 or NULL and the field is set to round (I'm rounding to 2 decimal places) and the "Count the...
View Articleerror when creating a new field
Problem/MotivationWhen creating a new field, it gives error in storage PHP: 8.1.1 MySQL: 8.0.17Steps to reproduceDownload & install latest Drupal version (9.3.0)Go to admin/structure/contactCreate...
View ArticleImproperly deployed *missing* entity table breaks module uninstall
Problem/MotivationContentEntityStorage base has a hasData() method that checks if any entities exist at all. This method is called during the uninstall process of a module to warn the user that data...
View ArticleReplace #tag => meta usages with #type => meta
Follow-up to #2544318: Remove #type => html_tag usagesProblem/MotivationAs part of #2296101: Remove SafeMarkup::set() use in \Drupal\Core\Render\Element\HtmlTag::preRenderHtmlTag(), we identified...
View ArticleRelationships in json api result can lead to a lot of extra queries
Problem/MotivationThe ResourceIdentifier class that is used to add all entity references to the relationship is currently using an entity load to add all relationship entries to the jsonapi output.This...
View ArticleI want to create Date format as dd/mm/yy instead of default mm/dd/yy but no luck
Here is my code. $form['dobnew'] = ['#type' => 'date','#title' => t('Birth Date new'),'#date_date_format' => 'd/m/Y','#default_value' => date('d/m/Y'),'#required' => TRUE, ];
View ArticleWarning: array_flip(): Can only flip STRING and INTEGER values! in...
Problem/MotivationHi, After updating Drupal core from 9.2.10 to 9.3.0, i have getting two warnings on node entity revision page. Note that content types have moderation state enabled.Warning:...
View Article[meeting] Migrate Meeting 2021-12-23 1400Z
Hello all, it’s time for the weekly migration subsystem meeting. The meeting will take place in slack in various threads This meeting:➤ Is for core migrate maintainers and developers and anybody else...
View Article[meeting] Migrate Meeting 2021-12-16 2100Z
Hello all, it’s time for the weekly migration subsystem meeting. The meeting will take place in slack in various threads This meeting:➤ Is for core migrate maintainers and developers and anybody else...
View ArticleAllow values with leading zeros in number field
Having this field:langcode: cs status: true dependencies: config: - commerce_order.commerce_order_type.default - field.storage.commerce_order.field_testfield id: commerce_order.default.field_testfield...
View Article[meta] Support PHPUnit 10 in Drupal 10
Problem/MotivationPHPUnit 10 was originally planned for February 2021, but has been delayed. We are hoping to ship Drupal 10 with support for PHPUnit 10 and so we can start preparing for this now, even...
View ArticleSkip entity reference validation
Problem/MotivationIf you enter in a required entity reference field some text like "Lorem (0)" and save the entity, the validation therefore is skipped and the entity is saved. Instead a message like...
View ArticleImprove admin/content view
1. Set all filters at the same level rather than the old admin view. 2. Move the title search field to be the first-most.
View ArticleCall to a member function isTranslatable() on null in...
Problem/MotivationWhen creating a custom bundle computed field, "Content language" configuration page (/admin/config/regional/content-language) throws an exception on save: Error: Call to a member...
View ArticleProperly deprecate module_load_include() and move it into...
Problem/MotivationWe would like to deprecate all legacy code in the file core/includes/module.inc. The function module_load_include() and module_load_install() lives in that file.Proposed resolutionThe...
View Article