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

Twig Functions needed in templates

Problem/MotivationIn D7 we had access to functions and variables to get the path of the current theme, a module, profiles to help link assets within relative to them.path_to_theme() and...

View Article


Discuss if Drupal's theme system should be component driven

Problem/MotivationDrupal's current theme system that has still lots of concepts from ancient Drupal versions has shown us it might need some upgrades. Examples like #2566775: [Voltron patch] Move all...

View Article


PlaceholderGenerator::createPlaceholder() generates invalid markup; causes...

Problem/MotivationI initially discovered this when my polls, embedded with entity_embed stopped working.The reason for that was that the generated HTML tag was not replaced anymore. The reason is that...

View Article

Image may be NSFW.
Clik here to view.

"unpublished" status of rendered entities is not accessible (and...

Problem/Motivation"unpublished" status of rendered entities is not accessible (pink too hard to notice for some) (and looks bad)blocks #2290101: UI telling you a field is shared across languages is way...

View Article

Harden drupalSettings selector against XSS

Follow-up to #2510104: Convert drupalSettings from JavaScript to JSON, to allow for CSP in the futureProblem/MotivationThe current selector for the drupalSettings is:var settingsElement =...

View Article


Create Documentation For Button Form Elements

Problem/MotivationSee the parent issue for problem motivation. This issue covers the following elements: ButtonDropButton - not sure as this is not technically a form elementOperation - not sure as...

View Article

UniqueFieldValueValidator works only with single value fields

The \Drupal\Core\Validation\Plugin\Validation\Constraint\UniqueFieldValueValidator works with only single value field and therefore it cannot be used with fields that have multiple values, like string...

View Article

Warning on install because of opcode cache issue

On requirements review page I get:PHP OPcode caching Not enabled PHP OPcode caching can improve your site's performance considerably. It is highly recommended to have OPcache installed on your server.I...

View Article


Drupal alerts "An AJAX HTTP request terminated abnormally" during...

Current StatusThis issue is currently blocked by the following issues:#77245: A place for JavaScript status messages#1606362: Use throw when an ajax error occurs and extend JavaScript's Error...

View Article


GD toolkit location

Updated: Comment #0Part of #2105863: [meta] Images, toolkits and operations.Problem/MotivationSee also comments #22 to #26 in #2105863: [meta] Images, toolkits and operations.ImageToolkitInterface was...

View Article

Race condition in node_save() when not using DB for cache_field

Problem/MotivationWith a non-DB backed cache, updating nodes can result in stale data being in the cache due to a race condition. This is because when an entity is saved we open a new DB transaction,...

View Article

Time based cache does not work as expected for anonymous users

Problem/MotivationIn a module, I'm trying to configure time based access restriction so I use a _custom_access callback in which I return an AccessResult object on which I apply setCacheMaxAge(60) to...

View Article

CCK migrations seem to have trouble with some checkbox types

Problem/MotivationWhen migrating I'm seeing the following exceptions on what seems to be every insert for this field.Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[22007]:...

View Article


Content language detection settings gets reverted to default

Content language detection settings are occasionally reverted to default during modules install/uninstall. I think that this also happens in some other cases but I can't pin down exact conditions.This...

View Article

Misuse of formatPlural() in Numeric field prefix/suffix

Problem/MotivationWhile trying to write a mulitlingual test for #2449597: Number formatters: Make it possible to configure format_plural on the formatter level, I noticed the following problem.The...

View Article


Introduce a CacheableRedirectResponse and use it where appropriate

Problem/MotivationWhen a page redirects, no cacheability metadata is attached to the response. As a result it is currently not safe to cache redirect responses.At #2527126-126: Only send...

View Article

Deleting the recent logs results in error

Any tryout of deleting logs "Recent log messages" via "Clear log Messages" result inThe website encountered an unexpected error. Please try again later.Apache log:[Thu Oct 15 18:29:42.472442 2015]...

View Article


Drupal 8 RC 1 installer stuck down after selecting language or at the end of...

Hi, running Drupal 8 RC1 installer on my dedicated server I found out that after selecting a language (polish) the script stuck down. Apache process takes 100% CPU and ~21% of 2GB ram and nothing...

View Article

CommentLinkBuilder causes fatal error when comment field not named...

Problem/MotivationDrupal 6 comments for a given node type may or may not be configured to have subjects. If they have subjects, the usual 'comment' field name is used for them; if not, the field name...

View Article

Enable rest without hal_json and accessing ?_format=hal_json results in a 500

Problem/MotivationEnable restEnable serializeAccess http://d8.dev/node/3?_format=hal_jsonResult:The website encountered an unexpected error. Please try again...

View Article
Browsing all 300274 articles
Browse latest View live


Latest Images

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