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

Log completely unusable when an entry has corrupt serialized data (D7)

If an entry in the dblog has corrupt serialized data, the dblog page (/admin/reports/dblog) will throw an exception and will not load.If unserialize fails, then a boolean is sent to t() leading to a...

View Article


Warning: gzinflate(): data error in drupal_serve_page_from_cache() (line 1617...

Problem/MotivationFor Drupal web services returning an empty page body with HTTP headers, a PHP warning is triggered on every request: Warning: gzinflate(): data error in drupal_serve_page_from_cache()...

View Article


Url class generates duplicate query arguments in some situations

Generating a URL with query string parameters that are numeric results in duplicated items in the query string.Add the following code to a THEMENAME_preprocess_node() function: $query['foo'][] = 'bar';...

View Article

PHP 7.4 notice for /modules/system/system.admin.inc

Problem/MotivationNotice: Trying to access array offset on value of type bool in system_modules() (line 889 of /modules/system/system.admin.inc).Drupal 7.73 Nginx 1.19.4 PHP 7.4.11

View Article

Available Twig tokens in Header, Footer, No results behavior not displayed

When Use replacement tokens from the first row is selected in Configure Header: Global: Text area (or in Configure Footer or in Configure No results behavior since they appear to use the same code),...

View Article


Hide the "Only For Testing" package by default on the modules admin...

Problem/MotivationThere are a couple of test modules in D7 that cannot be hidden.Some were added in #3255068: [D7 PHP 8.1] system_modules(): Deprecated function: str_replace(): Passing null to...

View Article

Backport Make core aware of Nginx and PHP-FPM to D7

Problem/MotivationThis is a D7 backport of the #1559116: Make core aware of Nginx and PHP-FPM to avoid confusing alertsSee the full history in the parent issue.Steps to reproduceProposed...

View Article

D7 backport: Fix htaccess files for PHP 8

Backport the PHP 8 changes to the .htaccess files Drupal generates from #3186524: Fix htaccess files for PHP 8

View Article


Change the method Drupal\Core\DrupalKernel::handle() to make it work for the...

Problem/MotivationThe method Drupal\Core\DrupalKernel::handle() does more then only handle the user request. When Drupal is run with Apache or NginX this is not a problem. The Swoole module boot Drupal...

View Article


Cron CSRF vulnerability

Note: this issue has been reviewed by the Drupal security team and it was decided that this can be handled as public security improvement.Problem/MotivationIn Drupal 7 and 8 cron is vulnerable to CSRF...

View Article

Backport DatabaseSchema_pgsql::queryTableInformation() improvements

Problem/MotivationImprove pgsql driver performance with optimizations from #1079762: DatabaseSchema_pgsql::queryTableInformation() is slow. See the parent issue for more details.Proposed...

View Article

Editing a comment still changes creation date

Whenever a comment is edited, the "created" timestamp still gets changed in two ways:a) admin edit While #1005004: Editing a comment destroys its creation date makes sure it isn't completely...

View Article

Replace REQUEST_TIME in plugins and classes with direct container access

Problem/Motivationcore/modules/aggregator/src/Controller/AggregatorController.php core/modules/content_translation/src/Controller/ContentTranslationController.php...

View Article


Move views-element-container to twig template

Problem/MotivationViews module is adding an extra <div> element for no apparent reason when rendering a view block or EVA attachment. As if having the wrapper from both the block and views-view...

View Article

Database::tableExists optimization for PostgreSQL

Database::tableExists appears to be called repeatedly during normal use of a Drupal site. In PostgreSQL, this is implemented by querying the information_schema.tables view, which in our PostgreSQL 9.2...

View Article


fopen() error in stream_wrappers.inc on PHP 8

Problem/MotivationUpon update to php 8, the site started throwing an error on line 408. I'm sure this is related to PHP 8 not being very happy about potential null values. The following change stopped...

View Article

Move QuickEditImageController from image to quickedit

Problem/Motivation#3227033: [PP-3] Remove quickedit from core is trying to remove quickedit from core. Before we can do that, we need all of its parts moved under the quickedit module, instead of...

View Article


[META] Make Drupal 7 core compatible with PHP 8.1

Problem/MotivationSeems like some quite significant changes have been encountered in #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves).Steps to reproduceTry testing D7 core...

View Article

Disable Big Pipe cause 500 error

Hello, On a D9.3.13 website, I can't disable big pipe module without getting 500 error on pages only I'm connected. Anonymous doesn't seem to be affected.Are you aware of this ? What the way to disable...

View Article

Image may be NSFW.
Clik here to view.

Query string duplications

Problem/MotivationChecking D7 Link #2333119: Output broken when using array parameters in query on D8 there are some issues with array query parameters.- '?a[]=0&b[]=0&b[]=1' -...

View Article
Browsing all 301946 articles
Browse latest View live


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