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 ArticleDiscuss 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 ArticlePlaceholderGenerator::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"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 ArticleHarden 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 ArticleCreate 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 ArticleUniqueFieldValueValidator 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 ArticleWarning 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 ArticleDrupal 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 ArticleGD 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 ArticleRace 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 ArticleTime 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 ArticleCCK 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 ArticleContent 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 ArticleMisuse 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 ArticleIntroduce 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 ArticleDeleting 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 ArticleDrupal 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 ArticleCommentLinkBuilder 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 ArticleEnable 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