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

PageCache caching uncacheable responses (violating HTTP/1.0 spec) + D8...

Problem/MotivationPageCache determines which responses to cache by inspecting the Expires header. (This should be updated to use the Cache-Control header instead, but that's out of scope...

View Article


Add a config action to alter block settings

Problem/MotivationCurrently there isn't a proper way to alter a block's settings in a recipe. A current work around is to use simpleConfigUpdate, but that shouldn't work as blocks provide config...

View Article


Nested modals don't work: opening a modal from a modal closes the original

Issue Summary#46 Describes the problem as to why the issue is happening which generally narrows down to hard coding of html ids for modal opening and closing command.#48 Provides a solution so that...

View Article

JSON:API POST/PATCH support for fully validatable config entities

Problem/MotivationAs an overall issue based on #2292707: GET on entity/taxonomy_vocabulary/{id} is not working it is weird we cannot POST/PATCH/DELETE for config entities.This was a key reason for the...

View Article

TypeError when having exposed form in block and setting "role"...

Problem/MotivationI admit this is a very specific problem, but when you have a Views exposed form in a block and set the ARIA "role" attribute on the form then any page displaying that block will...

View Article


CSRF check always fails for users without a session

Problem/MotivationAny route using the _csrf_token requirement doesn't work for users without session because the CSRF checker fails as the CSRF seed is not stored anywhere. Proposed resolutionOnly add...

View Article

Datetime form element cannot validate when using a format without seconds

Problem/MotivationWhen using a datetime form element that does not allow to input seconds as follow: $form['datetime_without_seconds'] = [ '#type' => 'datetime', '#title' => $this->t('Datetime...

View Article

Remove @return and use {@inheritdoc}

Problem/MotivationPart of #3484038: [meta] Fix Drupal.Commenting.FunctionComment.MissingReturnComment.There are usages of @return and {@inheritdoc} for a method.Steps to reproduceProposed...

View Article


ConfigFactory static cache is not updated when cache tags are invalidated

The ConfigFactory class has a simple static cache that keeps track of the Config objects that it handles. This static cache does not have awareness of the cacheability metadata of the items it holds....

View Article


`assets` stream wrapper not compatible with non-local storage, asset...

Problem/MotivationAssetRoutes::routes() contains logic to determine where to store "assets," aka CSS and JS aggregates. This used to be hard-coded to use the public stream wrapper, which implements a...

View Article

Make recipes translatable

Problem/MotivationWell this is obviously some low-hanging fruit. (Kidding, this is going to be very complicated.)Currently recipes are not translatable. They may have hard-coded strings that are...

View Article

"Taxonomy term ID from URL" default views argument should have...

Problem/MotivationI have a low Varnish hit ratio on a website, and I'm wondering if it could be due to the fact that many annoying bots may request some pages with dummy URL GET query parameters that...

View Article

User password reset form should use a more precise cache context

Problem/MotivationThis form declares it varies by the 'url.query_args' cache context. But when I look at the code, the only query arg (GET param) it relies on is "name". So the cache context should be...

View Article


SDC ComponentElement: Transform slots TranslatableMarkup values to #markup...

Problem/MotivationThis can be seen as a follow-up for #3391702On that issue, it was proposed that #slots were made more resilient and forgiving by accepting non-scalar values.Another common Drupalism...

View Article

Convert the computed path item field type to a regular entity reference field

Problem/MotivationAfter path aliases are converted to a content entity type, we should be able to remove the custom PathItem field type and replace it with a regular entity reference field targeting...

View Article


path alias entities should be listed in relationships

Problem/MotivationPath alias entities are references from nodes (or other entities), and should be listed in the references.This would be helped by #3008058: Convert the computed path item field type...

View Article

Support inlining critical CSS for faster core web vitals

Problem/MotivationOn many of our clients projects we inline critical CSS in order to optimise core web vitals (CWV) such as largest contentful paint (LCP). We do this by supporting a critical: true...

View Article


datetime-local element is failing on Datetime::valueCallback()

Problem/MotivationI am trying to implement a datetime-local element but I can't get it to workAll my tests led me to the catch (\Exception $e) in Datetime::valueCallback() with the error "The date...

View Article

Image may be NSFW.
Clik here to view.

Media Library's embed modal is almost unusable with less than 600px...

Problem/MotivationMedia Library's embed modal is almost unusable with less than 600px browser viewport width (every core theme is affected).Proposed resolutionRemaining tasksUser interface changesAPI...

View Article

Yarn watch task broken

Problem/MotivationAfter upgrade inhttps://www.drupal.org/project/drupal/issues/3493146#comment-15972700we got new version 4 of chokidar but we ignored its...

View Article
Browsing all 291469 articles
Browse latest View live


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