integer list fields store keys as strings if there are leading zeros
This issue was originally found and reported for D7. See https://drupal.org/node/2044135When creating an integer list field, if you manually add keys that have leading zeros, then the keys get stored...
View ArticleDrupal stopped working with accented names for databases
In Drupal 7.21 i worked with this secondary database:'target_name' => array ( 'default' => array ( 'database' => 'database_name', 'username' => 'postgres',...
View ArticleLinkFormatter::prepareView() is useless
The code LinkFormatter::prepareView() in here is strictly value per value, does not benefit from the "multiple entities" aspect of prepareView().What's being done here could totally be inlined in...
View ArticleHelper issue for "Switch from Field-based storage to Entity-based storage"
testbot playground for #1497374: Switch from Field-based storage to Entity-based storage
View ArticleHow to hide a region in a content-type-specific template
html.tpl.php renders a header and footer on each page. I have a need to not render them on a particular content type, so I created node--my-custom-content-type.tpl.php.html.tpl.php contains the...
View ArticleCreate a ControllerBase class to stop the boilerplate code madness
Problem/MotivationIf we take a look at http://drupalcode.org/project/drupal.git/blob/refs/heads/8.x:/core/modul..., we can see that 90 LoC are needed for a method that is only 5 lines. I call that...
View ArticleDon't use function_exists() on functions that are built into PHP 5.3
getmypid() - http://www.php.net/manual/en/function.getmypid.phphttp://www.php.net/manual/en/info.installation.php memory_get_usage() - http://www.php.net/manual/en/function.memory-get-usage.php...
View ArticleReplace .tpl.php with .html.twig in documentation
Updated: Comment #0Problem/MotivationThere are currently two .tpl.php files in core and they are only used for automated tests that ensure PHPTemplate still works. Everything else has been converted to...
View Article.tpl.php should be .html.twig or theme engine agnostic in...
Updated: Comment #0Problem/MotivationWhen grepping to determine the scope of #2049207: Replace .tpl.php with .html.twig in documentation it was determined that the "Theming information" functionality...
View ArticleContext support for the Twig {% trans %} tag extension
Problem/MotivationIn #1927584: Add support for the Twig {% trans %} tag extension we added support for {{trans}} blocks, but this lacks context, so we cannot do something like:{% trans %}{{ month }}{%...
View ArticleDrupal 7.22 can't work with accented names for databases anymore
In Drupal 7.21 i worked with this secondary database:'target_name' => array ( 'default' => array ( 'database' => 'database_name', 'username' => 'postgres',...
View ArticleTwo language table bugs following table style updates
ProblemFollowing #1986400: Table style update, two bugs appeared in Drupal core due to styling changes.Locale changed table bug:1. Enable Locale module. 2. Add a couple languages. 3. Go to the...
View ArticleEmpty image styles labels in admin after d7 to d8 upgrade
HiMy environment is migrated d7 to d8 site I found empty image styles labels in admin /admin/config/media/image-stylesSee attached screanshortAttachmentSizeStatusTest resultOperationsэкрана от...
View ArticleFile usage views should be combined
#2005166: Create simple file listing under admin/content/file added two views: admin/content/files for an overview admin/content/files/usage/% for a single file's usage infoThese were added as two...
View ArticleRemove traces of the 'user_register_form' field setting
#2014821: Change notice: Introduce form modes UI and their configuration entity has removed the infamous user_register_form field instance setting, that used to control whether a field on user entities...
View ArticleDelete multiple for nodes is broken
When accessing admin/content and using the delete multiple action, this error happens:( ! ) Fatal error: Call to a member function has() on a non-object in...
View ArticleMove most of the bulkForm class to bulkFormBase
This way we can use the include/exclude options without the need to activate the action module.As for a conversation with Tim Plunkett on IRC:"19:40 timplunkett: pcambra: there's already one in system...
View ArticleReplace user_cancel_methods() with something OO
#1946466: Convert all confirm_form() in user.module and user.pages.inc to the new form interface and convert route moves user_cancel_methods() from user.pages.inc to user.module, but we need a better...
View ArticleViews page displays with placeholders are forced to be MENU_CALLBACK
In #2049479: File usage views should be combined, I realized that breadcrumbs are broken for the file usage view, because it is forced to be MENU_CALLBACK.This is related to #2027043: Support page...
View ArticleContextual links present an empty links trigger when no link items are...
Problem/MotivationIf no contextual link actions are available for an entity, the contextual link trigger will still be rendered.Proposed resolutionDo not add a contextual links trigger until at least...
View Article