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

Use dependency injection instead of \Drupal::entityTypeManager() in...

class EntityModerationForm /** * {@inheritdoc} */ public function submitForm(array &$form, FormStateInterface $form_state) { /** @var \Drupal\Core\Entity\ContentEntityInterface $entity */ $entity =...

View Article


media_library filter giving Access denied

Hi All,I have been experimenting with using the media module, specifically the library. I have created a content type and have a media field. All works fine. If I set the form display for the field to...

View Article


JSON:API returns a CacheableResponseInterface instance for non-cacheable...

ProblemPatches to entities that are have Entity Reference fields that are set to use a View as the reference method fail with a 500 error, and the dreaded leaked metadata message: “"The controller...

View Article

Fix Drupal.Commenting.Deprecated coding standard

Problem/MotivationFollowing from #2908391: Add a rule for expected format of @deprecated and @trigger_error() text we need to fix core to adhere to the two new coding standards.This issue will fix the...

View Article

outdated example code in FormBuilderInterface::submitForm()

API page: https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormBuilderI...The code example for the additional parameters section is outdated and looks like it's not been updated since...

View Article


Consider adopting php-http/guzzle6-adapter to get PSR-18 support without...

Problem/MotivationDrupal 8 ships with Guzzle. As such it is somehow enforcing a particular library to be used for HTTP communication.Proposed resolutionThis is a proposal to adopt a more abstract...

View Article

Add an image style by default for media image

Problem/MotivationThe default entity view display for media lacks an image style in the standard and demo umami...

View Article

Incompatibility between zend-diactoros and psr-http-message-bridge versions:...

I ran into a compatibility issue between Zend Diactoros and Symfony psr-http-message-bridge as pointed out in #3045306-6: Paypal payment fails with InvalidArgumentException in MessageTrait .Either...

View Article


[PP-1] Replace the DiactorosFactory message factory in...

Problem/MotivationIn July 2018, PHP-FIG accepted PSR-17, providing a standard interface to http message factories. The interface for this standard requires PHP 7.0, and most implementations require PHP...

View Article


Missing documentation for "core" key in InfoParserInterface file.

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...The documentation does not mention that there is a key called core and that it is a required field.

View Article

[PHP 7.3] [D7] session_id() cannot be changed after session is started

Problem/MotivationOn PHP 7.3, session regeneration fails when logging in if an anonymous session was already active. A warning is thrown in drupal_session_regenerate(), line 375 of...

View Article

Argument 2 passed to Drupal\page_cache must be an instance of...

Hey guys, I have to reopen this, because suddenly after upgrade to 8.6.1 I have this issues as well.It appeared after the bot visited robots.txtType php Date Wednesday, December 12, 2018 - 03:21 User...

View Article

Customising the User Profile edit display to users based on Role.

Hi team,How can I customise the /user/2/edit page in Drupal for a specific user role. Group the custom fields to display member info, bios, designation in different groups.Thanks

View Article


Add the option to add custom menus to a content type on menu creating/editing

Problem/MotivationWhen creating a custom menu there isn't an option to link the menu to a content type. I had the idea to make a custom menu where I could add some basic pages.The steps I had in mind:...

View Article

More than one "Taxonomy terms on node" as relationship for...

Hi,When adding more than one "Taxonomy terms on node" as relationship for "Term" as Exposed filter in Views (8.3.2), results in flooding watchdog table with "Notice: Trying to get property of...

View Article


Memory leak in the entity schema converter

I have a problem with update core from 8.6.x to 8.7.x. My site use default content type article with field_tags. Currently, I have about 600k term and when I can't finish drush updb because memory leak...

View Article

Password confirm field does not inherit #attributes attribute

Use Case: password_confirm form field type isn't inheriting the attributesWhen a custom form is to be developed that has password and confirm password fields, that need to follow a pattern.Based on the...

View Article


Add title attribute to oEmbed iframe for accessibility

the oEmbedFormatter renders remote video content in an iframe element. This element should contain a title attribute for better accessibility.https://webaim.org/techniques/frames/#titleEasy fix. Will...

View Article

Focus divs on ajax calls

Problem/MotivationTargeting the parent of the removed DOM element on ajax sets focus, which is implicitly applicable to a limited set of elements, such as form elements (, , etc.) and links (), based...

View Article

Discuss whether to decouple from Symfony Validator

Problem/MotivationWe've had to deal with quite a lot of deprecations in Symfony validator, which has been the main barrier to updating Symfony minor releases.The most recent of these is #3029540:...

View Article
Browsing all 300456 articles
Browse latest View live


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