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

Support setting service parameters via environment variables

Problem/MotivationThe symfony container allows to define service parameters from environment variables. (Symfony documentation on configuration and Environment Variable Processors) However this does...

View Article


StringDatabaseStorage::deleteStrings() does not work

Problem/MotivationCalling \Drupal::service('locale.storage')->deleteStrings() never seems to work. It fails with this error: Drupal\Core\Database\InvalidQueryException Calling...

View Article


Add an API for feature flags

Problem/MotivationIn order to unlock innovation but also reduce risk of regressions it would be great if we had a core API for feature flags. This would allow new features that might cause regressions...

View Article

Remove File token hook dead code

Problem/MotivationFollow-up to #3493951: Split File oop hook implementations into separate classes where I noticed we have the following code in \Drupal\file\Hook\CronHook::__invoke(): $url_options =...

View Article

Use xpath instead of preg_match to search html string in BrowserTestBase

Problem/Motivationif (preg_match('@<script type="application/json" data-drupal-selector="drupal-settings-json">([^<]*)</script>@', $html, $matches)) { Could use xpath() instead.Steps to...

View Article


Wrong return type in Xss::attributes() docblock

Problem/MotivationThe docblock for Xss::attributes() says it returns a string but it returns an array.Steps to reproduceProposed resolutionThe correct type should be documented in the...

View Article

Incorrect path used in a A11y Test Admin

Problem/MotivationAs highlighted in:#2857808-26: Automate Accessibility Checks for Core It looks like there is an error in the admin tests.{ name: 'Create Article', path: '/user/1/edit' }, Perhaps it...

View Article

Image may be NSFW.
Clik here to view.

Form validation breaks out of a dialog

Problem/MotivationWhen a dialog contains a form, that form is submitted and there are validation errors, the form (in the error state including the error messages) is rendered outside of the dialog....

View Article


ConfigEntity based lists with items containing non-ascii characters are not...

Problem/MotivationMany efforts have been made to make Drupal 8 a great multilingual system. However, content types are never properly sorted when translations contain accentuated characters.Content...

View Article


Decide if we need to load #type defaults for #pre_render callbacks

Problem/MotivationSpin-off from #2609250: Lazy builder broken (#type defaults not loaded).For lazy_builder callbacks it made absolute sense to want to load defaults if the builder returned a render...

View Article

Lazy builder broken (#type defaults not loaded)

Problem/MotivationWhen Drupal\Core\Render\Renderer::doRender() processes #lazy_builder callbacks the #type defaults are already loaded, so any element with a #type property will not be rendered...

View Article

Image may be NSFW.
Clik here to view.

The Content overview page filters out unpublished nodes when a node access...

Problem/MotivationThe Content overview Views view filters out unpublished nodes that the given user otherwise would have access based on node access.This issue were already reported in Drupal 7...

View Article

Notice: Undefined index: empty in...

Problem/MotivationAs in title.Steps to reproduceCreate a view with no relationships on Master, add a display with a relationship (override Master), add a numeric filter using the relationship with...

View Article


Change the element wrapping the title in dialogs from span to heading element

Problem/MotivationjQuery UI 1.14.1 (https://github.com/jquery/jquery-ui/releases/tag/1.14.1) introduces an option (<code>uiDialogTitleHeadingLevel -...

View Article

Disallow dangerous filenames e.g. command injection characters

Problem/MotivationFollowing discussion with the Drupal Security Team, it was agreed that this could be handled in a public "security improvements" issue.At present Drupal's file API allows filenames to...

View Article


Image may be NSFW.
Clik here to view.

If a permission's machine name is the same as its module's machine...

Problem/MotivationHello,We can't use the same name for the module and a permission, It visually breaks the Extend UI.Steps to reproduce- Create a module named 'Hello' with all necessary (hello.info.yml...

View Article

Compatibility between SDC and the Form API

Problem/MotivationSDC doesn't play well with the Form API:we can put a full form into a component slot, but we can't put a form element of a form defined outside the componentwe can't define form...

View Article


Incorrect order and duplicate theme hook suggestions

Just by turning on twig debug and looking at theme suggestions, you can see for the main menu (and any corresponding menu like footer) that there is a duplicate theme suggestion and at the most...

View Article

ConstraintManager::getDefinitionsByType does not validate definitions and can...

Problem/MotivationSpinning from #3513113: Drupal core's ConstraintManager has poor DX, leading to XB triggering Validation constraint "type" must be an array of typesThe definition has the key type...

View Article

PDOException: SQLSTATE[HY000] [2000] in...

My drupal site have getting following error multiple times and the site become down . I am pretty stuck here, [php7:notice] [pid 25618:tid 139647506151168] [client xxx.111] PDOException:...

View Article
Browsing all 297668 articles
Browse latest View live


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