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

Loading a theme into the file system has an inconsistent path

Installing a contributed module may be accomplished by going to /admin/modules and clicking the +Install new module button. This takes you to /admin/modules/install.Installing a contributed theme may...

View Article


Move instruction and button for loading contributed modules or themes next to...

The instruction and button for loading contributed modules are separated by an instruction that is on a completely different subject. They would best be moved next to each other./admin/modulesCurrently...

View Article


Install new module v/s Add new module

On the modules page (http://example.com/admin/modules), the action link to add new modules to system reads "Install new module" (see attachment). The word "install" is synonymous to "enable". At least...

View Article

[meta] Hamonize Extend module/theme-add/update terminology

This is a meta issue to group together issues for various inconsistencise in the Appearance and Extend sections in administration as to how Drupal refers to and provides navigation for bringing...

View Article

Drupal.ajax does not guarantee that "add new JS file to page"...

Problem/MotivationIt is impossible to load additional JS libraries in an Ajax response and then call that code through Ajax commands, because Drupal.ajax does not guarantee that the JS library will...

View Article


Cached entities are loaded again, if $condition is given.

DrupalDefaultEntityController::load(), on the first attempt to load entities, will - load the raw entities from the database. - attach fields and possibly more with ::attachLoad() to the entity...

View Article

Optimize TaxonomyTermController::cacheGet(), and prevent memory leaks.

TaxonomyTermController::cacheGet() takes more time than it needs to. The method was showing up as the top offender in xhprof "Excl CPU (microsec)" with 137 ms. This is a very site-specific number,...

View Article

InvalidArgumentException "Field is unknown" in ContentEntityBase

On my very basic Drupal installation (default theme, Croatian/Bosnian/Serbian languages, AddToAny and Social Media Links block extensions) after upgrading from 8.2.6 to 8.3.0-rc1 or rc2 I get:Got error...

View Article


PDOException when saving a node on non-English languages

Problem/MotivationI got the following error as I try to save a node when non-English language (Chinese in my case) is enabled. The problem does not exist when English is the default language....

View Article


Prefer caret over tilde in composer.json

Problem/MotivationIn our composer we use ~ often. In the composer doc is says that the caret: is the recommended operator for maximum interoperability when writing library code.Furthermore when there...

View Article

User AccountForm.php sets $admin var but doesn't use (PATCH INSIDE)

On line 72 of: core/modules/user/src/AccountForm.php it sets:$admin = $user->hasPermission('administer users'); then it uses it in several places, but misses opportunity in 2 other places, and just...

View Article

Install from a URL example refers to out-of-date protocol

Install new module page /admin/modules/install reads:For example: http://ftp.drupal.org/files/projects/name.tar.gzDrupal.org hasn't used that protocol for some time. The text would better read:For...

View Article

Fix description for StylePluginBase::$usesRowPlugin property

https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%...Current description is confusing. Does the style plugin allows to use style plugins.It appears that the description was copied...

View Article


Image may be NSFW.
Clik here to view.

Menu subtrees in menu blocks show all subitems regardless of the active menu...

Problem/MotivationWhen visiting a page which belongs to a child menu tree, menu block displays other trees on the same level, from different parents, when the parents are set to expanded and the...

View Article

Convert web tests to browser tests for user module

See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)Conversion scopeAll except: #2887869: Convert web tests to browser tests for user module part-2 -...

View Article


ContentModerationState 'workflow' column empty for all non-default...

Problem/MotivationIf I run the multilingual moderation test and look at the database after, I get something like the following:mysql> select langcode,revision_id,workflow,moderation_state from...

View Article

Views Rendered Entity from relationship results in fatal error if empty

Steps to reproduce:Create a user viewAdd relationship "Content authored"Add field 'Rendered entity - content'Save the viewMake sure there is no content for the user(s)Expected behaviour: I expected the...

View Article


Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some...

I found this error in my watchdog list:Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("node") to generate a URL for route "". in...

View Article

Allow hook_entity_field_access() to grant field-level access to User fields:...

Background In D8 the default access settings are simple: there is a single 'administer users' permission that controls editing other users.More complex schemes are possible using contrib modules to...

View Article

Image may be NSFW.
Clik here to view.

Add option for visually-hidden block titles

Problem/MotivationBlock titles can currently be displayed or hidden by site-builders. When hidden, the heading element is omitted from the HTML entirely. Hiding titles might be desirable for a visual...

View Article
Browsing all 293850 articles
Browse latest View live


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