Convert all Simpletest web tests to BrowserTestBase (or...
Problem/MotivationWe want to get rid of simpletest.module in Drupal 9. We want to prepare the latest Drupal 8 development branch as much as possible before opening the Drupal 9 development branch (see...
View ArticleConvert webt tests to browser tests for help module
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
View ArticleUse the new 'view label' entity access check in the entity...
Problem/MotivationSince #2471154: Anonymous user label can't be viewed and auth user labels are only accessible with 'access user profiles' permission, we have a new entity access operation, 'view...
View ArticleBrowserTestBase does not work with standard profile
As soon as you set "protected $profile = 'standard';" on a browser test it blows up with:Drupal\FunctionalTests\BrowserTest\StandardProfileTest::testStandardProfile PHPUnit_Framework_Exception:...
View ArticleRunning module uninstall as a batch process?
Hi,I'm working on the D8 release of @font-your-face and as part of my approach towards fonts, I created a Font entity and other submodules then provide fonts that will be saved as native entities in...
View ArticleFile usage view breaks if an entity uses a file that has no canonical link...
Problem/MotivationIf you have a file field on an entity without a canonical link template, visiting file/ID/usage throws an exception.The reason is that the EntityLabel plugin unconditionally calls...
View ArticleStaging directory should not have to be writeable.
Problem/MotivationOne common way of using config will be:Site Builder A: Export files to a directoryServer: Import the exported files from that directoryAs we see, the webserver never needs the staging...
View ArticleProvide a way to extract a menu plugin from a menu form
Problem/MotivationFor modules like http://drupal.org/project/menu_attributes you need a way to get a plugin ID/plugin from a plugin menu form, so you can update its values.This allows to write generic...
View ArticleBrowserTestBase standards cleanup
BrowserTestBase has some fairly straightforward standards problems.
View ArticleNode revision revert/delete permission descriptions are wrong
Problem/MotivationFollow up to #576296: Useless description for some permissionsYoroy noted in comment #33 there that the descriptions on the "Revert all revisions", "Delete all revisions", and...
View ArticleAdd "weight" field to the block configuration form
As a task of #2724819: Create experimental module for place block on any page feature, "weight" needs to be added to the configure block form.ProblemWhen the user toggles on "place blocks" clicks a...
View Article[META] Stabilize the older Drupal to newer Drupal migration system
BackgroundStarting with Drupal 8, major version upgrades are done with a migration path, rather than an upgrade path. Both 6 -> 8 and 7 -> 8 migrations are included in core. While migrations...
View ArticleTimeout on enabling modules: make it a batch operation
So this has happened to me on several of the sites I've worked on - try to enable a bunch of module, operation times out, sometimes leaving half-installed modules (which can sometimes corrupt the...
View Articlevalid_email_address() should use egulias/EmailValidator and become deprecated
Problem/MotivationAs of #2278353: Update to Symfony 2.5, the core email validation class will be using egulias/EmailValidator #2313669: Bring in egulias/EmailValidator for RFC compliant email address...
View Articleundocumented #has_garbage_value property of render elements
Seen in a few elements such as core/lib/Drupal/Core/Render/Element/Radios.php, core/lib/Drupal/Core/Render/Element/RenderElement.php, core/lib/Drupal/Core/Render/Element/ImageButton.php, but doesn't...
View ArticleInject services into BookAdminEditForm
Problem/MotivationBookAdminEditForm uses \Drupal to discover services.It should properly implement ContainerInjectionInterface in order to allow for inversion of control.Proposed resolutionFigure out...
View ArticleMigrate D6 i18n nodes
Hey, sorry for the delay, and thanks for the reviews. I realize I haven't given a very complete explanation of what this patch does now, and why. So here's a start.Let's look at an example, suppose we...
View ArticleD7 field instance settings for any fields not on nodes are not migrating
Problem/MotivationField instance settings for custom User fields are not migrating, e.g. custom fields are hidden editing a user (after migration).Proposed resolutionCurrently the query to obtain field...
View ArticleLink field should accept protocol-relative URLs
Problem/MotivationLink field only accepts external URLS with "http://" or "https://". It should also support protocol-relative URLs e.g "//example.com"Proposed resolutionRemaining tasksDiscuss the need...
View ArticleRemove persistent cache clearing from ContentEntityStorageBase::resetCache()
Problem/MotivationFrom EntityStorageInterface: /** * Resets the internal, static entity cache. * * @param $ids * (optional) If specified, the cache is reset for the entities with the * given ids only....
View Article