Revision ID in {node} and {node_revision} can get out of sync
Problem/MotivationIt's possible for the revision ID in {node} and the one in {node_revision to be out of sync.All reports on this issue point to this happening due to migrations, although since migrate...
View ArticleAdd documentation to DedupeBase/DedupeEntity process plugins
Problem/MotivationMigrate has the concept of de-duplication, where it looks for things with identical machine names, and creates a copy if there's a match.This is actually creating duplicates (or...
View Articlemenu_cache_clear description contains duplicate word: cached cached
API page: https://api.drupal.org/api/drupal/includes%21menu.inc/function/menu_cach...Enter a descriptive title (above) relating to function menu_cache_clear, then describe the problem you have...
View ArticleDefine the revision metadata base fields in the entity annotation in order...
Problem/MotivationNodes - as the canonical example of revisionable entities - store the revision author, the revision timestamp and a log message for each revision. The Node entity declares these...
View ArticleAdd group pagination
For now it's possible to have pagination only based on elements. It would be really helpful to have a pager for grouping as well.Let's say we have 100 nodes, each node tagged with 1 of 5 terms from 1...
View ArticleModify an existing view join
I am trying to modify an existing d8 views join (not to add a new one).I am able to get the join data using $query->getJoinData(), but I can not put modified join back to the $query.Let's say I am...
View ArticleEditing a comment still changes creation date
Whenever a comment is edited, the "created" timestamp still gets changed in two ways:a) admin edit While #1005004: Editing a comment destroys its creation date makes sure it isn't completely...
View ArticleViews throws 'SQLSTATE[42S02]: Base table or view not found' due to...
Dears, I am trying to use contextual filters with relationships and have the error below (with the relationships):SQLSTATE[42S02]: Base table or view not found: 1146 Table...
View ArticleHow do i rewrite path field in views-view-fields.html.twig inside a href tag?
hello. i would like to rewrite the value of my view's path field in views-view-fields.html.twig template. I tried the following and the link is messed up.<a href="{{ fields.path.content }}"...
View ArticleModule programming: Remove entities from view results before pager is generated
Hi,I want to remove certain entities from the view results, before the view's pager is generated. By now I am doing it in hook_views_post_execute(). The problem here is, that the number of results on...
View ArticleInstead of initalizing two entity translation objects when viewing/editing an...
Currently when we are editing or loading an entity translation we first load the entity in the default translation and then initialize a new entity translation object for the desires translation. This...
View Article$storage->load()->getTranslation('non-default')->getTransl...
Problem/MotivationCEB::getTranslation keeps a translation cache under $this->translation for each initialized translation, however when we call getTranslation on the default translation the default...
View ArticleOptimize ContentEntityBase::getTranslatedField and do not store field values...
Problem/MotivationI've noticed that ContentEntityBase::getTranslatedField is called recursively for non translatable fields and also in __sleep the field values of non translatable fields will be...
View ArticleTranslation strings from install profile config language/[langcode]/*.yml...
Problem/MotivationWhen i create install profile for multilanguge site i need to provide default translated strings for different settings. In my case it is custom setting for custom search form block...
View ArticleNumeric item min/max settings ignored if set to 0
Problem/MotivationPHP's empty() function is not enough to check for $settings['min'] or $settings['max'] for numeric item - \Drupal\Core\Field\Plugin\Field\FieldType\NumericItemBase::getConstraints(),...
View ArticleInstall Error with single profile
Problem/Motivationsteps to reproduce the problem1. drush dl drupal 2. remove core/profiles/minimal 3. access to install.php through browser 4. Choose a language other than English 5. run install and...
View ArticleTranslatableInterface::getDefaultTranslationLanguage and...
Currently in order to retrieve the default language / language code we have to first retrieve the default entity translation object, but this is actually unnecessary as we have the information about...
View ArticleEntityAutocomplete should pass the original URI to the selection handler
Problem/MotivationIf en entity reference field is using a ViewsSelection handler, the underlying view is not initialised with the request of the page where the field is exposed. This is because the...
View ArticleAdd test coverage to prove controller is called *after* authentication...
Problem/MotivationAuthentication provider validation happens AFTER calling the controller— this was the title I was originally going to use for this issue, and was the bug I was going to report, but it...
View Article