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

The Translate tab is shown even though the logged-in user doesn't have...

Problem/MotivationIn a multilingual site I set content access to enable translation for Basic page and another content type called "Club". Permissions for "Translate Basic page content" are set for...

View Article


AJAX MessageCommand doesn't clear messages that are present on initial...

Problem/MotivationWhen using \Drupal\Core\Ajax\MessageCommand($clear_previous = TRUE), messages that are present on the initial page load aren't rendered with the data-drupal-message-id attribute which...

View Article


[meta][no patch] replace uses of REQUEST_TIME and time() with time service

Problem/MotivationA time service was added to 8.3.x in #2717207: Add a time service to provide consistent interaction with time()/microtime() and superglobals. Core code should be updated to remove...

View Article

Can't Control View Mode for User Picture

Problem/MotivationI would like to style the user_picture which is created in comment.module: function template_preprocess_comment(&$variables). The function contains the following comment:// To...

View Article

Layout Builder JS tests are failing on 9.4.x

Problem/MotivationThe layout builder JS tests are failing on 9.4.x - see https://www.drupal.org/node/3060/qa - eg. https://www.drupal.org/pift-ci-job/2222480Steps to reproduceRunning the tests locally...

View Article


Add optional sorting method for sequences

Problem/MotivationSequences in a config schema are used for many things and they can define if they should be ordered by key or value. Unfortunately, however, most sequences do not specify a sorting...

View Article

[META] Make Drupal 7 compatible with PHP 8.0

Make sure Drupal 7 becomes and remains compatible with PHP 8.0. Work with dependencies as needed. See #3081386: [META] Fully support PHP 7.4 in Drupal 7 for how we did it with PHP 7.4.

View Article

Image may be NSFW.
Clik here to view.

New translations for moderated nodes are not created in the initial workflow...

Problem/MotivationWe have defined a workflow with these states:DraftNeeds ReviewPublishedWe have two roles:author (Who creates content in draft and sets it to "needs review")admin (Who can transition...

View Article


PluralFormula should return the plural formula in string format

Problem/MotivationDiscovered while working on #2611298: Port potx to Drupal 8Potx allows users to extract existing translations from the Drupal database into .po (portable object) files. A .po file...

View Article


book_admin_edit_validate does not check validity of plid

When using the book reorder page at admin/content/book/(nid) with JS disabled, it is possible to enter invalid parent ids, either out of the current book or even nonexistent.book_admin_edit_validate()...

View Article

Image may be NSFW.
Clik here to view.

Hide the "Publish Content" button if there are no changes to publish

Hide the "Publish Content" button if there are no changes to publish. When we don't have anything to publish, the Workspaces module still shows the publish content button. See this screen recording for...

View Article

default.settings.php should include fast 404 enabled option

Problem/MotivationIn some cases it is possible that the fast_404 enabled status variable is either set to FALSE in the config or is left out entirely. When this happens, it's not immediately obvious...

View Article

Allow contextual filters to optionally include results with NULL values for...

Problem/MotivationDrupal 8 version of a Drupal 7 issue.Original use-case:Basically, the use case I have is a multivalued field along the lines of "Intended for users of type X", attached to a node. I...

View Article


Allow to include a total count of items to collection responses

The #2942426: [DISCUSSION] Remove query counting and collection counts? explains that without a JSON:API Extras it's *almost* impossible to get a total number of items for a collection request within...

View Article

Default theme favicon for administration theme

Problem/MotivationSteps to reproduce the problem:Create few sites.Use the same core theme for administration pages.Use different contrib themes for each site as site default theme.Open the...

View Article


Suppress validation of required fields on ajax calls

Problem/MotivationAt the moment we only have #limit_validation_errors for form elements of type button and submit. Using it it is possible to turn off validation completly or enable it only for desired...

View Article

Image may be NSFW.
Clik here to view.

Migrating reference fields: target_bundles may never be empty array

Problem/MotivationDiscovered via #2814953: Migrate Drupal 7 node/user reference fields, but is a long pre-existing bug.#2814953-96: Migrate Drupal 7 node/user reference fields contains:+++...

View Article


UID base field override configs can still have old default value callbacks

After upgrading from Drupal 8.9 to Drupal 9.0 I get the two following error/warning messages when trying to create new content using some (not all) of my content types, among them the native...

View Article

Image may be NSFW.
Clik here to view.

Project messaging channel in core

Problem/MotivationPer the core idea issue: #2940739: Project messaging channel in core initiativeThe vast majority of Drupal users do not have accounts on Drupal.org, and likely do not regularly follow...

View Article

Enable grouping for checkboxes and radio buttons

As of today, grouping is only possible for select lists, not for checkboxes and radio buttons. In form.inc, options buttons get flattened out. If you read this thread: #1878292: Add grouping by...

View Article
Browsing all 291783 articles
Browse latest View live


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