#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 ArticleAllow 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 ArticleTwig\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 ArticleLink 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 ArticleIncompatibilty 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 ArticleOptimize 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 ArticleInternationalized 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 ArticleManyToOneHelper 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 ArticleFields 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 ArticleAdministrator 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 ArticleD7 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 ArticleEdit 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 ArticleAdd 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 ArticleWhen 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 ArticleUpdate 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 ArticleEmail 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 ArticleImprove 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 ArticleImprove 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 Articlefix 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