Unable to view latest version of translated moderated content
Problem/MotivationI am observing the following behavior when content editing and viewing the latest version of translated moderated content. Users with identical permissions, with the exception of...
View ArticleReplace Drupal's error handling with Symfony/HttpKernel's
ProblemWSOD. No error. Nothing.CauseSymfony\Component\HttpKernel\Kernel.php: public function init() { if ($this->debug) { ini_set('display_errors', 1); error_reporting(-1);...
View ArticleViews Date Filter Datetime Granularity Option
Problem/Motivation1. Create a content type with a Datetime field 2. Create some sample data with the content type 3. Create a simple view that has one exposed filter for selecting the Date 4. The...
View ArticleCustom menu link entity type should not declare "bundle" entity key
The menu_link_content entity has only one bundle in drupal core (with the same name as the entity).During the development cycle before Drupal 8 stable there was an implementation for bundles with this...
View ArticleMigration of menu links does not set the appropriate bundle
The 'Menu link bundles per menus' feature has been introduced with this issue: https://www.drupal.org/project/drupal/issues/1966298So each menu link should have as bundle the menu name and not the...
View ArticleDrupal 8 updating issue -...
After updading a Drupal site from 8.6.16 to 8.7.1 (PostgreSQL 9.6.13 , Nginx) I get this error in almost every operation (creating a view , installing a module, importing feeds, ....) with diferent...
View ArticleInvalid characters passed for attempted conversion, these have been ignored...
_color_unpack() does not remove leading '#' character from the $hex param causing PHP notice:PHP7.4:Passing invalid characters to base_convert(), bindec(), octdec() and hexdec() will now generate a...
View Article`link` fields in REST, JSON:API and GraphQL cannot be rendered by client
Problem/MotivationLink fields and menu links are output in JSON:API in the following format:"field_link": [ { "uri": "internal:/", "title": "Home", "options": [ ] }, { "uri": "entity:node/5", "title":...
View ArticleAdd an entity query access API and deprecate...
SummaryThe node_access system is a somewhat obscure, yet powerful access control API. However, it is severely inhibited for a number of reasons:It is not widely understoodIt is hard to understand...
View ArticleScaffolding: Only add root files to gitignore
Problem/Motivationcomposer/Plugin/Scaffold/ManageGitIgnore.php generates a .gitignore file which ignores files in the whole project. In my case I had a .eslintrc.json in a custom theme which was...
View Article[meeting] API-first initiative meeting 2020-03-05
Hi all! This is the start of the weekly API-first initiative meeting. The conversation will take place across various threads.:zero: let us know who's here (please include your d.o username so I can...
View ArticleMake Drupal 8 & 9 compatible with PHP 7.4
Problem/MotivationDrupal 8.8.x is not passing tests on PHP 7.4. PHP 7.4 released on November 28, 2019, a week before Drupal 8.8.0.Proposed resolutionFix code to not trigger errors in PHP 7.4...
View Articleupdate_fix_compatibility() puts sites into unrecoverable state
Problem/Motivationupdate_fix_compatibility() is just remove modules and themes that don't exist.Steps to replicatedelete a module from the modules folderrun updatesrestore the module and try to enable...
View ArticleExtend filled database dump with new stable modules and content for them
Problem/MotivationFollow-up of #3089900: Drupal 8.8/8.9/9.0 update test coverageIt's very painful to write update tests for modules that aren't enabled in the filled dump by default.Proposed...
View Article[META] Drupal 8-9 upgrade path clean-up
This issue is about ensuring the overall framework for updating Drupal 8 databases to Drupal 9 is in good shape.(not in precedence order, just for easier reference).1. Policy(policy) Figure out how to...
View Article[META] Requirements for tagging Drupal 9.0.0-beta1
Problem/MotivationMust-haves prior to tagging Drupal 9.0.0-beta18.9.x and 9.0.x will enter beta at the same time and will have the same beta stability requirements as a normal minor release....
View ArticleAdd more strict checking of hook_update_last_removed() and better explanation
Problem/MotivationIn #3087644: Remove Drupal 8 updates up to and including 88**, we noticed that using that hook_update_last_removed() is not actually that strictly enforced (it requires to have an...
View ArticleRemove postcss-header workaround
Problem/MotivationWe worked around conflict between dependency versions on Drupal and postcss-header library by not loading postcss-header using the index file. This can be removed now that...
View Articlebuilt-in archive view sort differs from page to block
I am observing a strange behavior using the built-in "archive" view in Views to create a block for posts by month.With the same setting SORT CRITERIA: Content: Authored on (asc)I would expect with the...
View ArticleNotice: Undefined index: status in _update_project_status_sort()
Notice: Undefined index: status in _update_project_status_sort() (line 634 of core/modules/update/update.module). _update_project_status_sort(Array, Array) uasort(Array, '_update_project_status_sort')...
View Article