Move sorting of book.settings.allowed_types to frontend
Follow-up for #111715: Convert node/content types into configurationProblem/MotivationCurrently book module does useless and fragile sorting of allowed types on per-language basis...
View ArticleMake views handlers for node type to use proper methods to display node type...
Follow-up for #111715: Convert node/content types into configurationProblem/MotivationCurrently there's a mess of usage check_plain(), $this->sanitizeValue(), node_type_get_types() and t() to...
View ArticleFinish node type settings conversion
Follow-up for #111715: Convert node/content types into configurationProblem/MotivationThere's still comment and menu module that store settings in old wayProposed resolutionconvert usage to...
View ArticleFormat form page UI issues
On admin/config/content/formats/add (or edit) there are 2 CSS/JS UI bugs:"Filter processing order" table top border is missing."Filter settings" vertical tabs group should be hidden OR should contain...
View ArticleWhile generating content in devel - fatal error getFileUri() on a non-object...
I got this nasty error when trying to generate content http://www.drupal8.oc/admin/config/development/generate/content( ! ) Fatal error: Call to a member function getFileUri() on a non-object in...
View ArticleSeparate language_list() usage for maintenance mode
Follow-up for #1754246: Convert Languages into ConfigurablesProblem/MotivationCurrently language_list() uses plain config files to read languages. That's implemented to allow this function to operate...
View ArticleMake CascadingStylesheetsTest 3500% faster
While working on #352951: Make JS & CSS Preprocessing Pluggable, I got very much fed up with the extreme slowness of CascadingStylesheetsTest.php.DifferenceBefore: 281 secondsAfter: 8...
View ArticleWrong default value for user_pictures variable
Hi,Recently noticed that user_pictures variable has wrong default value in UserController:attachLoad(). By default this variable is set to 0, but this method uses 1 instead.Patch that fixes that bug...
View ArticleDifferent default values for filter_allowed_protocols variable
Hi,Recently noticed that variable filter_allowed_protocols meets twice in code, but with different default values (see drupal_strip_dangerous_protocols() and _filter_url()). In the second function...
View ArticleFix channel-link element in RSS feeds by adding a trailing slash
The "Link" element in an RSS feed generated by node_feed() is missing a trailing slash, and this causes RSS readers like Safari’s built-in reader or the Python feedparser library to generate incorrect...
View ArticleGetting a translated field value sometimes fails
#1969728: Implement Field API "field types" as TypedData Plugins stumbled over this problem and had to create the following work-a-round:<?php         if ($entity instanceof EntityNG || $entity...
View ArticleUndefined index: uri and Undefined index: dimensions in picture.module
This issue is to fix failing test - https://drupal.org/node/2009662#comment-7569357. The changes below are out of scope for 'Replace theme() with drupal_render() in picture module'Undefined index: uri...
View ArticleAdd field invocation helpers and test them
#1969728: Implement Field API "field types" as TypedData Plugins adds some field invocation helpers to the storage controller, however they are generally useful for any type of controller and method....
View ArticleImprove safe value handling and caching of text fields
In EntityNG text fields started using $item->processed instead of $item->safe_value. We need to make sure the prepareCache logic and the all the widgets/formatters use the same key. I'm not sure...
View ArticleAdding methods to UserInterface/AccountInterface
Part of #2017207: Complete conversion of users to Entity Field API, this is what #2015123: Expand NodeInterface to provide getters and setters is for nodes.This is the same patch as #2017207-47:...
View ArticleMake JavaScriptTest 3200% faster
(This is the sister issue of #2026255: Make CascadingStylesheetsTest 3500% faster.)While working on #352951: Make JS & CSS Preprocessing Pluggable, I got very much fed up with the extreme slowness...
View ArticleUse static caches for parsed .services.yml and .info.yml files
Spin-off of #2006434: Speed up web tests.There is zero reason to use drupal_static() for parsed info.yml files, they are manually edited files and don't change during the same request (and altering the...
View ArticleComments when installing a new module
I have a large Drupal 7 setup, with more than 2 hundred modules. It's really hard to remember why I installed each module. It would be great if I could add a comment when installing a new module,...
View ArticleMake ContentNegotiation a "internal" service, used only by the router, so...
Problem/MotivationDrupal\Core\ContentNegotiation has a @todo saying "Replace this class with a real content negotiation library".#1505080: [META] Content Negotiation for Accept Headers is the issue for...
View Articleblock_rehash causes error when running simpletest testcase
I initially wrote this issue in features_extra queue:https://drupal.org/node/2025817I need help to understand what is the underlying issue. I am not sure if there is anything needed to code in the...
View Article