Add informative error message for 'Connection refused' errors in MySQL
Problem/MotivationThere are several cases when Drupal can get "2002 Connection refused" error:1. The 'unix_socket' option is set in settings.php and the socket is not accessible. SQLSTATE[HY000] [2002]...
View ArticleAllow text fields and textareas to use the other's widgets.
It's super frustrating when you want to have a text field (255chars) but the only way to see the entire 255 chars in that field is a really really reeeeally long textfield. Text areas are a thing. We...
View ArticleDatabase reserved keywords need to be quoted as per the ANSI standard
Problem/MotivationOver many years Drupal has held off checking queries for reserved words in column names, table names and aliases because it was a design decision. The idea is that we just just should...
View ArticleWarnings and notices after upgrade
After upgrading Drupal from version 7.67 to 7.68 it started to show a plenty of the messages below. I am currently using PHP 7.3.9-1. At https://www.drupal.org/project/drupal/releases/7.68 we have...
View Article_locale_rebuild_js has bad database search performance
Apologize for my poor English. While I debugging slow queries on my Drupal 7.12 site, I found a query in locale module is very slow. I think the reason is that some modules will filter/sort...
View Articletitle attribute still not added to oEmbed iframe
so, I just updated to 8.7.8, and the fixed 3021452 issue is persisting for me. I see a title is provided for my example youtube video.VIDEO: https://www.youtube.com/watch?v=6X8f9CLBoB8EMBED JSON URL:...
View ArticleUpload via Media Library field widget does not take all upload validators in...
First of all great to have the possibility to create and upload new media elements directly in the media field widget.I came across an issue regarding media image elements. If there is an upload...
View ArticleText trimmed by "Trimmed" or "Summary or trimmed" field...
Problem/MotivationSteps to reproduce:Install Drupal 8.4.2 with the Standard profileCreate a text format that doesn't filter by "Limit allowed HTML" - the use case is a "Full" format for dangerous...
View ArticleMove workspaces_post_update_move_association_data() to a hook_update_N
Problem/MotivationThe post update workspaces_post_update_move_association_data() makes an entity schema change. It deletes the workspace_association entity.Generic entity type operations in...
View ArticleCannot swap tabledrag rows by dragging the lower over the upper row in tests
Problem/MotivationWhile working on #2757007: Convert all book web tests to BrowserTestBase, I discovered that, in a JavascriptTestBase test, it's impossible to swap 2 rows by dragging the lower over...
View ArticleCall to a member function getConfigDependencyKey() on null in...
To replicate,* create users view * add roles filter (exposed) with "Select all" selected in Options field. * Export view to module/profile and reinstall website.The following error would occurError:...
View ArticleDisplay core compatibility ranges for available module updates
Problem/MotivationNow that #2807145: [policy, no patch] Allow contrib projects to specify multiple major core branches has been done core_version_requirment can be used to declare core compatibility...
View ArticleModal dialog style update
Originally submitted on GithubProblem/MotivationRecent interviews and research exposed pain points around Drupal's admin experience of looking and feeling dated.Proposed resolutionImplement new Dialog...
View ArticleError backtrace malformatted
Problem/MotivationSometime i get error / exception backtraces that lack newlines in the dblog html view. Without patch:Error: Cannot use object of type Drupal\Core\Render\Markup as array in...
View Articlelinks.html.twig docs are out of date
Problem/MotivationAPI page: https://api.drupal.org/api/drupal/core!modules!system!templates!links.ht...The 'link' element is not documented.The 'url' element is documented, but is not available in the...
View ArticleDrupal 7 Taxonomy Term Source produces MySQL errors for machine_name
The `d7_taxonomy_term` migration source at `core/modules/taxonomy/src/Plugin/migrate/source/d7/Term.php` produces a query with duplicate `machine_name` fields. This causes MySQL errors.I have attempted...
View ArticlePassword reset form reveals whether an email or username is in use
Problem/MotivationThe actual password reset mechanism exposes a user enumeration security vulnerability defined as Testing for User Enumeration and Guessable User Account (OWASP-AT-002) by OWASP - Open...
View ArticleSearch translations directory recursively for localization files
Problem/MotivationIn a composer managed repository, there is a distinction between any files that are provided by packages and those that are local. A typical repository looks as follows:htdocs (or:...
View ArticleCreate Classy library dependency tests that can be used for all themes, and...
Problem/MotivationAs stated in #3050389: Remove dependency to Classy from core themes, Classy will be moved to contrib before Drupal 9 and we have to remove dependencies on Classy from all core...
View ArticleAfter update from core 8.7 to 8.8 get error on config-import. In CI process...
Hi config-import getting error while deploy to remote server using CIdrush cim --partial after update core 8.7 to 8.8Unable to install the <em class="placeholder">path_alias</em> module...
View Article