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

Core composer tests should use local composer vs host composer

Problem/MotivationComposerProjectTemplatesTest is currently fails in HEAD when using the 7.4.x/7.3.x php containers.This is due to the fact that the containers are built every day, and on Oct 28th,...

View Article


Image may be NSFW.
Clik here to view.

[upstream] Update CKEditor 5 to 40.0.0

Problem/Motivationhttps://github.com/ckeditor/ckeditor5/releases/tag/v40.0.0All major breaking changes in this release are for/due to <img height> support (see point 1 below).All minor breaking...

View Article


Uncaught ReferenceError: loadjs is not defined after drupal core upgrade 9.5.1

After drupal core upgrade 9.5.1. I am getting Uncaught ReferenceError: loadjs is not defined in site. This is breaking other js in the site. This js defined in core.libraries.yml file.

View Article

Circular reference detected because of EntityTypeInfo

Problem/MotivationThere is a loop if a service needs the current User as an argument.Steps to reproduceInstall Restrict by IP with composer and Lenient on D10.Proposed resolutionRemove the unused...

View Article

Replace hook_cron() with a more modern approach

Problem/Motivationhook_cron() is fairly dated and limited concept. One is that you can only have a single implementation per module, so if you need to do multiple things, you need to put it all in the...

View Article


FileUploadHandler::handleExtensionValidation does not have fallback for sites...

Problem/Motivationfile_validate_extensions was deprecated in favor of constraint validators in #3221793: Move file upload validation from file.module to constraint validatorsUntil Drupal 11,...

View Article

Radios element missing "required" attribute

Problem/MotivationThe radios elements that are provided by core do not apply the required attribute to the generated <input> elements. Instead the required attribute is applied to the wrapping...

View Article

Image may be NSFW.
Clik here to view.

['#states']['required'] broken for radios

Problem/MotivationAccording to the FormHelper documentation, required is one of the states which may be applied dynamically to a form element. This works for some Drupal form elements, but not for an...

View Article


[META] Hooks via attributes on service methods (hux style)

Problem/MotivationCurrently in Drupal we have the old procedural hook system, we have symfony events, and we have tagged services and service collectors, to allow different modules or components...

View Article


Limit what can be called by a callback in form arrays

Problem/MotivationRecent security releases have shown that the render system needs to be stricter about what it allow to be called by a callback....

View Article

Warning: array_flip(): Can only flip STRING and INTEGER values! in...

Problem/MotivationHi, After updating Drupal core from 9.2.10 to 9.3.0, i have getting two warnings on node entity revision page. Note that content types have moderation state enabled.Warning:...

View Article

Uninstalling a module providing display extenders causes fatal errors

Problem/MotivationIf you define a Display Extender plugin in a module and enable it, then uninstall that module, you are unable to load any pages. You get a...

View Article

Drupal 10 edit content block permission does not allow editing

Problem/MotivationBlock edit permissions that were working in D9, don't seem to be working anymore in D10. In drupal 9 our editors had the following content block permissions:Type 1: Edit content...

View Article


FieldableEntityNormalizerTrait::extractBundleData should not expect data to...

An HTTP client may send scalar data as well. Currently it causes the following error.TypeError: Drupal\serialization\Normalizer\EntityNormalizer::extractBundleData(): Argument #1 ($data) must be of...

View Article

Switch to border-box as default box-model (box-sizing)

Problem/MotivationClaro uses the default box-model "content-box", what causes unnecessary calculations for width and height (+ min-* & max-*) attributes.Proposed resolutionUse "border-box" as...

View Article


Allow ajax dialog to have focus configurable

Problem/MotivationThere are some use cases where you don't want that Ajax.dialog autofocuses on the dialog. My use case is because of: layoutbuilder_extras_live_update I am updating the Layout in the...

View Article

Add a container compiler pass to add service aliases

Problem/MotivationAs of recently, core services that satisfy certain criteria (I'm not sure which!!) need to have a service alias which is their class or interface, to allow autowiring.E.g....

View Article


Stable 9 is trying to override non-existing css files.

Problem/MotivationThe drupal.dialog.off_canvas library has been altered for Drupal 10, but the library overrides in stable 9 have not been changed to match this.Here is the definition for...

View Article

strnatcasecmp(): Passing null to parameter #2 in LayoutPluginManager

Problem/MotivationDeprecated function: strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in Drupal\Core\Layout\LayoutPluginManager->Drupal\Core\Layout\{closure}()...

View Article

TypeError: Cannot assign null to property...

Problem/MotivationTypeError: Cannot assign null to property Drupal\views\Plugin\views\argument\ArgumentPluginBase::$operator of type string in...

View Article
Browsing all 291180 articles
Browse latest View live


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