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

Remove vendor libs from classmap

Problem/MotivationThe classmap in composer is for own classes and not classes from vendor libraries. The hardcoded paths to HttpKernel etc. makes it impossible swap these classes in composer bases...

View Article


Try to speed up InstallUninstallTest / ConfigImportAllTest

Problem/Motivation\Drupal\config\Tests\ConfigImportAllTest and\Drupal\system\Tests\Module\InstallUninstallTest are one of the two slowest tests in Drupal, if not the slowest.Let's try to figure out...

View Article


Error after fresh install

After fresh install (php 5.4.36-0+tld0) I get such error: Fatal error: Call to undefined method Drupal\user\Entity\User::traitSleep() in...

View Article

When deleting a content type field the related View also is deleted

I created a 'date' field on a content type and a view to for this content type. Then i deleted the 'date' field from the content type and the whole view got deleted also without any warnings.Os : OSX...

View Article

Core and base theme CSS files in libraries override theme CSS files with the...

Problem/MotivationDuring #2375673: Split Bartik's CSS into SMACSS style components we've found that if we add a CSS file to a library with a name that already exists, that CSS never loads. It seems...

View Article


Get rid of FIELD_LOAD_* constants ?

- Those constants are used for "field loading" logic. This used to be part of a public API (field_attach_load() & friend), but this logic is now internal to the storage controllers, and there is no...

View Article

_menu_load_objects() is not always called when building menu trees

Okay, this has to be the weirdest drupal bug I have come to see thus far and I have to admit I didn't see this thing all the way through, partly because of it's quirkiness, partly because of a deadline...

View Article

Remove router rebuild from menu_ui.install

Working with tim.plunkett to understand wonky behaviors of menu links with the standard install profile.It turns out that moduleHandler::uninstall() calls drupal_flush_all_caches(), but for module...

View Article


Context class does not use typed data trait correctly, leading to fatal errors

Problem/MotivationPHP Fatal error:  Call to a member function getCanonicalRepresentation() on a non-object in core/lib/Drupal/Core/Plugin/Context/Context.php on line 50The typed data object is null...

View Article


return NULL on EntityManager::load()/loadMultiple() with invalid ID / non...

Follow-up to #2403271: return FALSE on EntityManager::loadEntityByUuid with invalid UUID / non existing oneProblem/MotivationEntityManager::load()/loadMultiple() breaks if you pass in a wrong / non...

View Article

Image may be NSFW.
Clik here to view.

Make the default 'alt' attribute for Image fields required

Problem/MotivationAlternative attribute text is required for images to ensure a site meets WCAG accessibility guidelines. When adding an image field to a content type, the alt text field is currently...

View Article

node_access breaks any query that has node table appearing twice with a left...

Updated: Comment #161Problem/MotivationWhen two node tables are left joined then access checks prevent access to the node when nothing is matched in the table on the right-hand side of the join. Access...

View Article

Regression fix: allow Drupal 8 to work without Apache mod_rewrite

Beta phase evaluationReference: https://www.drupal.org/core/beta-changesIssue categoryBugIssue priorityMajorPrioritized changesYes. This fixes a regression.DisruptionNot disruptive and does not require...

View Article


Allow context definitions to specify default values

Problem/MotivationContext definitions need a way to provide default values. Example:<?php/** *  context = { *    "text" = @ContextDefinition("string", label = @Translation("Text"), default_value =...

View Article

Make all entity tokens available under a generic [entity:*] token structure

Rather than requiring each entity type to have its tokens handled differently, e.g. [node:*] vs [user:*] vs ..., make all of these available as a generic [entity:*] that stands for the primary entity...

View Article


Drupal 8 only allows one user every 6 hours to register when page caching is...

Problem/MotivationOver at #606840-78: Enable internal page cache by default, we have a bunch of failures in UserRegistrationTest. The failures happen after registering two users. The fatal error is...

View Article

[meta] Ship minified versions of external JavaScript libraries

We should ship both minified versions of every third party JavaScript library in core.This will probably be done as a part of #2203431: [meta] Various asset (JavaScript) libraries have to be updated to...

View Article


Do not attempt field storage write when field content did not change

I tested on a profile2 entity save, with numerous fields, changing one one value.Without patching the field API, I got 409 SQL queries with about 98 DELETE, 144 SELECT, and 36 INSERTS ; Others are just...

View Article

Help module needs block module to function properly

HelloThe Help module seems to be generating errors when the Block module is not installed.After a fresh install of Drupal 8-dev and immediately uninstalling "Custom Block" and "Block" modules, the...

View Article

uuid, created, changed, language default value implementations need to be...

With #2226267: Improve default value handling of fields to be consistent the default value handling got improved, but the patch did not cover converting the default value implementations of uuid,...

View Article
Browsing all 291195 articles
Browse latest View live


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