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

Migrate D7 i18n menu links

Problem/MotivationMenu links in Drupal 7 are translated using i18n_menu submodule of the suite i18n, we need to migrate those respecting the language settings. This should be similar to the D6 version,...

View Article


Image may be NSFW.
Clik here to view.

Migrate comment type language settings

Problem/MotivationIn #2981392: Comment migration corrupts data with multilingual sites we found out that the comment type language settings are not migrated sensibly when the source content type has...

View Article


Image may be NSFW.
Clik here to view.

Users expect rendered media, not links, and configuring the entity reference...

Problem/MotivationBy default, when you add a media field to a content type, it will default to rendering a link to the entity, rather than rendering (e.g.) your image on your content the way a user...

View Article

Variable to config: search_active_modules [d7]

Migrate the D7 variable, search_active_modules.Most of the variable to config migrations are straightforward. This one is a little different and will require more work. Search_active_modules is a...

View Article

Token service has no interface

Problem/MotivationThe \Drupal\Core\Utility\Token service does not have an interface. In some places an injected token service is typehinted against the class.So decorating the service produces a...

View Article


Load user entity in SessionHandler instead of using manual queries

Use entity API in session handler.=> No hardcoded queries on users and user roles tables => Should actually be faster because entity storage cache. => It is quite common to actually have to...

View Article

Security update introduces breaking changes to content moderation

There are basically two problems with the 8.5.8 and 8.6.2 security changes to Content Moderation:They introduce a new method to an existing interface. There is at least 1 contributed module that I know...

View Article

Redirect back to media list after creating a media entity

Problem/MotivationI was testing to add some media on my site. After creating a media entity I got redirected to the media entity's page which made the task of adding even few media entities quite...

View Article


Version report shows old versions as an update that needs to be done

in : admin/reports/updates Core version 8.6.1 the report tells me it needs a security update , version 8.6.2 The list it provides however contains also an older version:Drupal-kern Nieuwe versie voor...

View Article


Memory issues with comment_user_cancel

The problemWhen a user with many comments cancels his account, this could lead to php memory issues.What are the steps required to reproduce the bug?Cancel the user account of a User with thousands of...

View Article

Moderation state field cannot be updated via REST, because special handling...

Problem/Motivation50-50 chance of this being a problem with Rest module or with Content Moderation, tagged against the former for now.Updating the moderation_state field of an entity that is moderated...

View Article

Use "number" form element in Views pager settings form

Some text fields in views pager forms that accepts only integer values have #textfield type. We can improve user experience by replacing them with #number form element and applying appropriate #min and...

View Article

When opening ..admin/MODULES empty page occurs

Greetings,When I open ..admin/MODULES empty page occurs! I deleted some unused modules but it not helped. Should I delete even more unused modules or what else to do?Thanks in advance for any...

View Article


Error on 8.6.1 to 8.6.2 update

Received two identical errors of type php upon updating to the latest 8.6.2 from 8.6.1Symfony\Component\HttpKernel\Exception\BadRequestHttpException: No contextual ID tokens specified. in...

View Article

[Regression] Editing a media entity now always redirects you to a media...

Problem/Motivation#2974203: Redirect back to media list after creating a media entity caused a fairly serious regression for an unknown (presumably small) percentage of site admins. Although the title...

View Article


Add a way to execute a function in the context of a specific workspace

Problem/MotivationThis was proposed by @FabianX in #2784921-151: Add Workspaces experimental module.10:+++ b/core/modules/workspace/src/Plugin/RepositoryHandler/LiveRepositoryHandler.php @@ -0,0 +1,196...

View Article

Views exposed sort filters does not sort with facets

SituationGiven a view with an exposed sort form to sort a search API database or solr index with facet filters.IssueWhen a selection of filters have been applied and you change the 'Sort By' option...

View Article


drupal_set_message() with falsy float value

I agree passing an empty string/NULL to drupal_set_message() is a nonsense and must not display an empty message box on the screen, but :Assuming that these following messages are valid since they are...

View Article

Add oEmbed support to the media library

Problem/MotivationAccording to the original mockups from #2796001-101: [prototype] Create design for a Media Library, the media library as it shipped in Drupal 8.6 is very close to feature-complete....

View Article

Migration entity count not tested in MigrateUpgrade Tests

maxocub discovered in #2981393: Migrate comment type language settings that the migration entity count in MigrateUpgrade6Test doesn't seem to be tested. He changed the value locally and the test still...

View Article
Browsing all 300668 articles
Browse latest View live