Quantcast
Browsing all 295818 articles
Browse latest View live

#states required is not working in form API

Hi There,I want to use dependant text field with checkbox in drupal form.I am using form #states with required, but form gets submitted without validating the text field.Please check below...

View Article


Allow overriding module CSS without overriding their toolbar styles

Problem/MotivationSome modules mix toolbar CSS with other CSS. It is common to override module CSS without overriding their toolbar CSS, or vice versa. Proposed resolutionMove toolbar related CSS to...

View Article


Twig\Error\SyntaxError: An exception has been thrown during the compilation...

Upgrading from 8.6.10 to 8.6.11 and 8.6.12 causes the white screen of death to appear on specific admin pages."/admin/modules/update" and "/admin/modules/install" both work, but...

View Article

Image may be NSFW.
Clik here to view.

Link field doesn't sufficiently validate input

Problem : Currently, In default link field we have URL and Link text. URL field accepts multiple URLs, which leads to creating broken URL in the node view page.e.g. I can add 2 urls same time...

View Article

Incompatibilty 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 this issue.Either Diactoros should stay at 1.8.5 or Symfony psr-http-message-bridge should...

View Article


Optimize CEB::hasTranslationChanges by caching its result and serving...

Problem/MotivationContentEntityBase::hasTranslationChanges is being called in core two times during the saving process. 1. ChangedItem::preSave 2....

View Article

Internationalized Domain Names (IDN)

Problem/MotivationInternationalizing Domain Names in Applications (IDNA) is a mechanism that has been around for a few years now and is based on multiple RFCs to allow the usage of domain names...

View Article

Image may be NSFW.
Clik here to view.

ManyToOneHelper ignores group configuration for some cases and forces INNER...

Bug descriptionWe've met a buggy behaviour of a view having two reference-field filters in an OR subgroup.That's how filters looked like:And this is the resulting query:There are two issues: 1. AND...

View Article


Fields added hook_entity_bundle_field_info don't get entered into the...

Problem/MotivationI add some bundle specific fields via hook_entity_bundle_field_info as should be controlled in code rather than config, but the entity type belongs to another module. However,...

View Article


Administrator can not delete file entities

Problem/MotivationAdmin users can not delete files in the CMS in any way from UI.There is a hard-coded condition in Drupal\file\FileAccessControlHandler that only the user that uploaded the file can...

View Article

D7 taxonomy term fields are not migrated with allowed vocabularies

Problem/MotivationOn migration from D7, the taxonomy term fields get migrated fine, but they are set to allow all vocabularies, even though that wasn't the case in source.Proposed resolutionIn D7, the...

View Article

Edit content throws "The website encountered an unexpected error. Please...

The website encountered an unexpected error. Please try again later. Recoverable fatal error: Argument 1 passed to Drupal\Core\Field\WidgetBase::massageFormValues() must be of the type array, string...

View Article

Add events for matching entity hooks

One of the most visible places where developers and site builders will still need to interact with hooks are the entity lifecycle hooks (presave/create/insert/update/predelete/delete).Now that we have...

View Article


When adding a new translation the entity should start from the draft state

Problem/MotivationConfigure a site with two languagesEnable content translation and content moderation for nodesCreate a node in language-1 with the "published" stateTranslate to language-2The current...

View Article

Update core JavaScript libraries before 8.8.0

Problem/MotivationUpdate whatever is allowed in a minor.There are two kinds: the front-end facing libraries in core/assets and the development dependencies specified in core/package.json.(8.7.x=)$ pwd...

View Article


Email Address Internationalization (EAI)

Problem/MotivationEmail Address Internationalization (EAI) is based on a set of RFCs published in 2012 which enables the usage of utf-8 in the local part of an email address. Additionally email...

View Article

Improve hit ratio for the menu tree cache

Problem/MotivationThe menu tree cache is using a serialized MenuTreeParameters object for its cache ID, but it has a few problems that result in useless cache variations:- addExpandedParents() and...

View Article


Improve exception messages when plugins cannot be found

Problem/MotivationCurrently, when a plugin cannot be found, we get this obtuse error message:Drupal\Component\Plugin\Exception\PluginException: The plugin (%plugin) did not specify an instance class in...

View Article

fix entity manager issue in the plugin system

We still have lots of uses of the deprecated entity manager in core We are talking a few strategies to prioritize which to fix first ... I want to fix a popular contrib module ( rules ) clear it of...

View Article

[meta] Deprecate EntityManager with E_USER_DEPRECATED

Problem/Motivation\Drupal\Core\Entity\EntityManager says this:/** * Provides a wrapper around many other services relating to entities. * * Deprecated in Drupal 8.0.0, will be removed before Drupal...

View Article
Browsing all 295818 articles
Browse latest View live


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