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

State has no dedicated test coverage

Problem/MotivationThe State system is used in quite some places, but there seems to be no dedicated test coverage for it.First we have to ensure that there is really no dedicated test coverage, but...

View Article


Warn users about contrast problems when using the color module

Updated: Comment #66Problem/MotivationThe color module allows users to change the color scheme within compatible themes. Choosing foreground and background color combinations which have a low contrast...

View Article


ModuleHandler::install() silently fails if a module isn't in the file...

Problem/MotivationThe API for enabling modules fails silently if one of the modules is not present in the filesystem.Proposed resolutionThrow an exception when this is the case.Original bug report from...

View Article

SchemaTest fails with not MySQL driver

Hi there.SchemaTest has some problems with not MySQL database. For example I work to port Oracle Driver for D8 now, and this test fails.1) Function db_copy_table_schema is fully supported only by...

View Article

Convert menu CSRF tokens to use #post_render_cache

Problem/MotivationCSRF is great and working well in Drupal!But CSRF on forms and links is totally incompatible with caching.And this is very unnecessary.While it can still be solved within the system...

View Article


Replace calls to theme('item_list') with calls to...

Problem/MotivationWe have two very similar functions in Durpal theme_links and theme_item_list. Both of these functions loop through a set of items, and create a HTML list. This creates twice as much...

View Article

Image may be NSFW.
Clik here to view.

PluginException: The plugin () did not specify an instance class.

That's all I see when trying to access /node/add.Dumping $plugin_id and $plugin_definition yields NULL and NULL.Such errors should not be possible.Related issues#1862600: Entity type names/IDs are not...

View Article

(followup) drupal_serve_page_from_cache can serve uncompressed data with...

This was discovered during #1176856: Anonymous users get failure if page_cache_without_database = TRUE and page_cache_invoke_hooks = FALSE.What I didI set page_cache_without_database to TRUE via...

View Article


Allow the entity area to use UUIDs instead of IDs and provide autocompletion

Problem/MotivationViews allows you to render a specific entity for example in the header/footer of a view.This functionality is for example used for "taxonomy/term/..." but is especially helpful for...

View Article


Add a new node link after submitting a node

This is a very small patch that adds ad link to add a new node after a node is submitted.The link is added in the message, which changes the output from this:Story <em>asdf</em> has been...

View Article

The documentation for hook_ranking() is wrong

I just spent the last couple hours trying to figure out why I was getting a non-sensical SQL error during searches. While looking into it, I finally discovered that the problem is that the...

View Article

Move node database queries into node storage

The node module has a number of hardcoded sql queries these should be move into the storage layer.

View Article

Add cache wrapper to the UrlGenerator

Problem/MotivationThis is a follow-up for #1888424: Make Drupal's URL generation logic available to HttpKernel, and minimize code repetition/divergence Part of this is postponed on #2351015: Convert...

View Article


Views tests don't pass strict schema checking

Problem/MotivationAs per #2183983: Find hidden configuration schema issues, several views and views_ui tests fail strict config schema checking. We fixed lots of views related schema issues in...

View Article

Merge selectnodetitle into core

selectnodetitle is a really small module that automatically gives the node title field focus, so the user can just start typing when the node add form loads.We should put this in core, then backport it...

View Article


Changing pager settings for this display only also changes pager settings for...

If I create two pages in the same view, and change the pager for one of them with a restriction to that view, it changes both of them. This appears to be a regression from Views 7.x-3.8.Steps: 1....

View Article

DCS: Cyclomatic Complexity

Who thinks it would be great if the Drupal Coding Standards included checks for Cyclomatic Complexity and maximum nesting levels?Cyclomatic complexity is a metric used to check the complexity of a...

View Article


[Policy, No patch] Overhaul the entity revision terminology

Problem/MotivationOur terminology for multiple past versions of a node, and the business logic around it, is confusing, outdated, and limited. So is the functionality, especially if we want it to apply...

View Article

[PP-2] Remove _l() and _url()

Follow-up to #2343661: Rename l() to _l() and url() to _url(), and document replacementsProblem/Motivation_l() and _url() circumvent the routing system, and their replacements are not...

View Article

Image may be NSFW.
Clik here to view.

Icky PHP warnings occur when private filesystem path cannot be created

When attempting to create a private file folder, I put in an invalid path and get one of two errors:When making a directory that cannot be created by the webuser on OSX in the root dir IE...

View Article
Browsing all 302979 articles
Browse latest View live


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