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

hook_block_view() doesn't explain @return value for empty block

API page: https://api.drupal.org/api/drupal/modules%21block%21block.api.php/functi...Enter a descriptive title (above) relating to function hook_block_view, then describe the problem you have...

View Article


Language entity missing uri() method implementation

ProblemThe language entity is missing a uri() method implementation and therefore poses as having a generic /entity/* URL for the entity, which is not at all the case. Other config entities provide the...

View Article


EFQ relationships broken for entity types with bundles

In various ways :) Probably critical...Example query:<?php$query = Drupal::entityQuery('node');$query->condition('type', 'article'); // Doesn't change...

View Article

Convert user roles to entity_reference_field

Spin off from #2002162: Convert form validation of users to entity validation: the definition of the roles field on user entities should use the entity_reference_field type, because it references the...

View Article

Image may be NSFW.
Clik here to view.

comment fields shown in the wrong order (reversed) on form

Immediately after install with the current 8.x from Git, you see this on the "Comment from display" form (path = admin/structure/types/manage/article/comment/form-display):But this is how the form...

View Article


Picture mappings cannot be edited

Problem1. Enable picture module. 2. Add a picture mapping (details don't matter). 3. On the listing page, click the edit operation. 4. Get a "Page not found".Why?Entity list controllers now generate...

View Article

'Password Match' alignment error

The 'Password Match' message can leak out of the box. See image. It also is positioned differently depending on screen size. Sometimes it is to the left the 'Confirm Password' box, sometimes...

View Article

Book block display options

On the 'admin/structure/block/manage/book/navigation/configure' page there is the option to :"Show block on all pages" or"Show block only on book pages".Is there a way to have both options enabled and...

View Article


Break the old router for contrib

Per discussion with Dries, we aren't done with the router conversions yet. #1971384: [META] Convert page callbacks to controllersHowever, we know that the new router is the way forward for contrib. We...

View Article


Cleanup HTML heading structure

Problem/MotivationCurrent heading structure in Drupal 8 includes visibly hidden headings, plus H2 and H3 headings that proceed the first H1. This deviates from the following best practices: Use H1 to...

View Article

Field listings operations cannot be altered

ProblemThe configuration translation user interface module needs field operations to be alterable, so we can add a translation operation on field configuration screens. Altering operations is possible...

View Article

width:1px in visually-hidden class causing problems for screen readers in...

Problem/MotivationIn Drupal 8 some content is being visually hidden (and exposed to screen reader users) using the "visually-hidden" class, which is styled as follows in system.module.css:...

View Article

drupal_rewrite_settings()'s documentation is incorrect

API page: https://api.drupal.org/api/drupal/includes%21install.inc/function/drupal...Updated: Comment #0Problem/Motivation(Why the issue was filed, steps to reproduce the problem, etc.) I've been...

View Article


Document and standardize how @throws should be described.

Spin-off of #1938390: Convert contact_site_page and contact_person_page to a new-style Controller, see #37 and following.Looking at the output of grep -R "@throws" core/, most place it on the next line...

View Article

Move file entity dependent code in includes/file.inc and system.module to...

file_save_upload() is in file.inc, but we moved the file entity to file.module, so this function should be there too.Similarly, there's a lot of token-related code in system_token_info() and...

View Article


LocalTaskBase have to work with routes containing parameters

At the moment we don't pass parameters from the current request to the url generator, so the api does not work really simply for many cases.In order to implement it, we need #2031487: Don't replace the...

View Article

Convert user properties to methods

Part of #2017207: [meta] Complete conversion of users to Entity Field API.This converts the following property to methods: - status to isBlocked(), isActive(), block() and activate() - mail to...

View Article


Mark user_access as deprecated

User_access actually should have been marked as deprecated, when #1966334: Convert user_access to User::hasPermission() got in.

View Article

Notice: Undefined offset: 0 in comment_submit() (line 2197 of...

Hello there! How to fix this error. Notice: Undefined offset: 0 in comment_submit() (line 2197 of mysite.com/modules/comment/comment.module)I publish comment -> Reload the page = And I'm getiting...

View Article

function menu_item_route_access() does not catch a ResourceNotFoundException...

in menu.inc:<?phpfunction menu_item_route_access(Route $route, $href, &$map) {  $request = Request::create('/'. $href);  $request->attributes->set('system_path', $href);  // Attempt to...

View Article
Browsing all 291015 articles
Browse latest View live