Bubbling cache tag metadata when rendering nodes in preprocess functions is...
Problem/MotivationCache tags are brilliant when they work well, and can be obtuse and difficult to use when they don't.In the case of preprocessing nodes, it's quite difficult to find a way to make...
View ArticleRewrite as URL adding equals sign to end of url.
Problem/MotivationCurrently drupal_get_query_array does't support a syntax like that 'http://domain.org?flag' because it sets the value of flag to "". If drupal_http_build_query is called on this it is...
View ArticleD6->D8 Core block migrations missing settings tests
Problem/MotivationThere are no tests for core block configuration settings like the "Who's online" block's "User list length" setting. There are 8 such settings (see the BlockSettings process plugin...
View ArticleReplace documentation and string references to drupal_render()
Problem/MotivationFollowup from #2704871: Replace usages of deprecated method drupal render(). That issue replaces the core usages of the deprecated drupal_render() function, but does not yet update...
View ArticleDouble underscores are not preserved in main views CSS classes defined in...
Problem/MotivationDrupal’s CSS coding standards recommend a naming convention for classes which requires the use of double-underscores as separators in certain cases (BEM). However, when using the...
View ArticleBlock View dated content never updates (to remove old events)
Block view of content with a date field with filter Date > now never updates block for anon users. Thought it was an issue with site so went back to basics > fresh D813 site > added date field...
View ArticleDo not use user.permissions cache context in AccessResult?
I noticed the following in \Drupal\Core\Access\AccessResult: /** * Creates an allowed access result if the permission is present, neutral otherwise. * * Checks the permission and adds a...
View ArticleUse 'Filter' for exposed filter button text in new views and new...
Problem/MotivationThe exposed filter on the Custom block library page (/admin/structure/block/block-content) has 'Apply' text. Similar pages (/admin/content, /admin/content/files, /admin/people) use...
View ArticleAll serialized values are strings, should be integers/booleans when appropriate
Problem/MotivationJSON produced by the HAL and JSON normalizers provides all data values as strings. This makes it difficult for strongly typed uses of the REST interface to interact with the JSON...
View Article\Drupal\Core\Routing\RequestFormatRouteFilter::filter() is too HTML-centric
Problem/MotivationThis core bug blocks this JSON API contrib module issue: #2831137: [PP-1] Assume the use of the 'api_json' format for routes managed by JSON API.Currently...
View ArticleAPI versioning: decide & document a backwards-compatibility policy for...
Problem/MotivationBackwards compatibility policy for Drupal APIs is clear, and can often be used to infer the compatibility policies that might cover the Drupal REST implementation. However, without...
View ArticleChange "Save and keep un-/published" buttons to a...
Problem/MotivationIn a recent study of the content authoring experience done by Dharmesh users found the newly introduced "Save and keep published" overly long and confusing.Proposed resolutionBecause...
View ArticleDuplicate X-Content-Type-Options headers both with the value nosniff
Problem/MotivationIn #462950: Mitigate the security risks that come from IE, Chrome and other browsers trying to sniff the mime type we added # Disable content sniffing, since it's an attack vector....
View ArticleRe-saving a new bundle entity throws an exception
When a configuration entity that acts as a bundle for another entity is first saved, it does not have an "original ID" yet. If that configuration entity is then re-saved during Entity::postSave() or...
View ArticleEntityResource: Provide comprehensive test coverage for...
Problem/MotivationPlease refer the problem/motivation section of #2737719: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every methodProposed resolutionWrite...
View ArticleConvert 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 web tests to browser tests for forum module
Convert forum tests to be based on BTB instead of WTBChild of #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
View ArticleAdd documentation to download process plugin
Add API documentation to the Download process plugin.
View ArticleApache always sets Content-Type: text/html, even for DELETE requests
Problem/MotivationWhile working on #2737719: EntityResource: Provide comprehensive test coverage: for every entity type, every format, every method, I noticed that responses to DELETE requests...
View ArticleConvert web tests to browser tests for tour module
See #2735005: Convert all Simpletest web tests to BrowserTestBase (or UnitTestBase/KernelTestBase)
View Article