Remove the ContentNegotiation service, add it as a dependency to Request
In order to use ContentNegotiation, you need to also have a Request to pass it. The classes currently declaring ContentNegotiation as a dependency already get a Request passed to it (route...
View ArticleBartik's menu tabs in RTL
Main menu is broken on smaller screens in RTL and styles in general are not equivalent to the LTR styles. Working on a patch.
View ArticleHow to NOT turn element read only when waiting for '#ajax' callback?
I need a live scan on user's input, much like autocomplete does. I cannot afford to disable the field when user writes in it, as this is irritating. On the other hand, I need to create form elements...
View ArticleThe command line runner autoloader is broken
Steps to reproduce:Disable Views. (Or install Minimal so it's never enabled) Try to test Drupal\user\Tests\Views\HandlerFieldPermissionTest from the command line. PHP Fatal error: Class...
View ArticleOperator in entityCondition breaks taxonomy_entity_query_alter
Problem/MotivationQuerying taxonomy terms with EntityFieldQuery and an operator other than = in the entityCondition breaks taxonomy_entity_query_alter.For example,<?php$query = new...
View ArticleProvide a fallback for incorrect path to lock.inc file
Problem If admin specified incorrect path to file in $conf['lock_inc'] in settings.php then bootstrap fails.Proposed solution Provide a fallback. We should add a watchdog message that specified file...
View ArticleIe 7 and ie 8 issues with ajax
Hello, I made custom form, where I use #ajax form attribute. I've noticed that it works with ie9 and ie10 but with ie7 and ie8 it shows "An error occured while attempting to process /system/ajax"....
View ArticleLANGUAGE_TYPE_URL has no name and description.
Here's the definition of LANGUAGE_TYPE_URL in locale_language_types_info() (see: http://api.drupal.org/api/drupal/modules!locale!locale.module/function/locale_language_types_info/7)<?php...
View Articlenode_block_access is doing unnecessary processing
Whilst setting up a performance testing environment I noticed that we can improve the implementation in node_block_access() to not do unnecessary calls to menu_get_object(); and node_type_get_types();.
View ArticleWhen purging a batch of deleted Field API data, don't fail if the...
I ran into a problem where field_purge_batch() was called during cron, and expecting to delete all data related to field_xyz. The problem was that the table field_data_field_xyz did not exist on my...
View Articlehook_field_presave() not called reliably
During my research on which field-hooks can manipulate the item data I've found that there seems to be no guarantee that hook_field_presave() is ever called. The responsibility to call...
View ArticleThe function field_get_items can return a string. It should only return an...
The function field_get_items is supposed to only return an array or FALSE, however on php 5.3 it can return a string.For reference, I'm running on a 64 bit ubuntu server 12.04 with php 5.3.10 from the...
View ArticleLocale with URL aliases that contain accented characters
I'm having an issue on a Spanish website. Whenever t() is called on a page that contains an accented character, it throws an error similar to this:URL:...
View ArticleComment token always returns a check_plain version of comment_body.
When comment tokens are being processed, the instance always fails because the bundle is being set to 'comment_body'. My debugger shows that we ought to be setting this to $comment->node_type,...
View ArticleDateTime returning formatting errors
When using a DateTime field (in this case Authored On, but I've also tested it on a DateTime field that I created), I am unable to submit a value (happens with both Date/Time, and just Date).The...
View ArticleAllow {@inheritdoc} and additional documentation
In #1906474: [policy adopted] Stop documenting methods with "Overrides …" we decided to support inheritdocs but in #1906474-35: [policy adopted] Stop documenting methods with "Overrides …" agreed to...
View ArticleConfigEntity listing should only show enable/disable if status is supported
See #1891690-18: Use EntityListController for vocabularies"disable" always appears for config entities that do not support status.
View ArticleAll white space and newlines are being removed from contact messages
My customers have been heavily using the personal contact forms on my site. I am getting a lot of complaints that all of their return characters are getting stripped from their messages. I believe it...
View ArticleBlockListController doesn't call getOperations().
BlockListController hard-codes its operations in buildForm().
View ArticleShortcutListController doesn't call parent::getOperations().
ShortcutListController doesn't inherit its operations from ConfigEntityListController.
View Article