Use Config Entity query for views_get_applicable_views()
Follow-up from #1846454: Change notice: Add Entity query to Config entities.This won't be a performance improvement as it stands, but if we optimize the config entity query then it'd get it for free.
View ArticleUse config query to get enabled and disabled views.
Followed/related to #1900962: Use Config Entity query for views_get_applicable_views(). We can use this for these functions pretty easily.AttachmentSizeStatusTest...
View ArticleMake edit module work with tempstore, so revisions are not saved on all...
ProblemWhen revisions are turned on for a node (type), new revisions are saved for each individual field edit. It "spams" the node revisions list heavily, therefore we need to figure out a way to queue...
View ArticleModules cannot reliably enhance or alter the node form anymore
Follow-up to: #1751606: Move published status checkbox next to "Save"ProblemModules that are adding or altering form validation or submit handlers to the node form are no longer able to add to the...
View ArticleReplace the mini pager with a lite pager (which does not run a count query)
Problem/MotivationIf you have a big site, like http://drupal.org you might have performance problems with pagers, because the count the amount of total items in your list using a sql query.Proposed...
View Article_field_invoke_multiple maybe need to call call_user_func instead of $function
Hi, I am realy new to drupal. I made a migration script with the migrate module and i found out that some times i would got a WSOD after the import when i went to see the content list. The installation...
View ArticleDon't call taxonomy_node_delete_revision on insert/new revisions
Don't need to delete when there's nothing to deleteAttachmentSizeStatusTest resultOperationsdrupal-taxonomy_node_save-delete.patch1.47 KBIdlePASSED: [[SimpleTest]]: [MySQL] 190 pass(es).View details |...
View Article[Block]PluginManager repetitively triggers full-stack Annotation parsing on a...
ProblemBlockManager always uses createInstance() instead of getInstance().This means that BlockManager never knows whether it previously tried to instantiate a plugin and whether that failed.When...
View ArticleEnable StaticReflectionParser performance optimization to speed up Annotation...
@chx seems to have added this, but why don't we use it?AttachmentSizeStatusTest resultOperationsdrupal8.annotation-only.0.patch1.8 KBIdlePASSED: [[SimpleTest]]: [MySQL] 49,672 pass(es).View details |...
View ArticleMETA: Config syncing does not work reliably.
Various issues exist when trying to sync configuration between sites. This issue is tracking all the outstanding issues related to this topic. Please feel free to add new issues as they...
View ArticleUncaught TypeError: Cannot read property 'command' of undefined
Before I explain this, this is not really a bug report and not something that will happen with Drupal itself - but it is a good safe-guard to have for data integrity and preventing errors. I'm getting...
View ArticleRandom failures in Drupal\system\Tests\Entity\ConfigEntityQueryTest
Value 3 is identical to value 2.ConfigEntityQueryTest.php 419 Drupal\system\Tests\Entity\ConfigEntityQueryTest->testDotted()I've seen this twice today.
View ArticleImporting a disabled format that is assigned to a role causes a fatal
This was found by #1901456: META: Config syncing does not work reliably., and I tracked it down.AttachmentSizeStatusTest resultOperationsfilter-import-FAIL.patch1.89 KBIdleFAILED: [[SimpleTest]]:...
View ArticleStart using PHPUnit for unit tests
As we convert procedural code to OOP, it would be nice to have a mature testing framework to properly unit test the new classes we are writing. While our simpletest fork serves us well for...
View ArticleMaximum execution time error with taxonomy_term_save() function
Hello folks,Seems like there's either something wrong with UUID Features or the core taxonomy module. Please see #1887924: Maximum execution time error in installation profile. Not familiar with core....
View Articlemenu_link_save() tries to do a SELECT to find a parents WHERE mlid=0 many times.
During menu_link_save() the code attempts to find a parent for the new item, but doesn't check to see if the parent ID it's looking for is 0 (which should never exist anyways). For me it saves 390...
View ArticleConfiguration entity query doesn't filter properly for NULL values
Let's try to explain this;Currently, if a value is set but the operator is 'IS NULL' (a la notExists()) this will always return TRUE. We need to account for the fact that a value will be set but also...
View ArticleIntroduce DUTB helper methods for working with rendered content +...
In short:Move the helper methods from the test in #1152216-16: (Long) text field (textarea) with "Default" formatter does not retain newlines into DrupalUnitTestBase + a new FieldPluginUnitTestBase.
View Articleviews_plugin_query_default::ensure_table may return false instead of just a...
API page: http://api.drupal.org/api/views/plugins!views_plugin_query_default.inc/function/views_plugin_query_default%3A%3Aensure_table/7The documentation declares the following:Return value The alias...
View Article