"Warning: Missing argument 2 for image_style_deliver()"
The warningWarning: Missing argument 2 for image_style_deliver() in image_style_deliver() (line 789 of /var/www/example.com/modules/image/image.module).appears every time while accessing to...
View Articlefield_attach_form and field_sql_storage_field_storage_write: wrong value gets...
Hello,Stumbled upon an issue with field_attach_form and field_sql_storage_field_storage_write.The problem:- Define a select/option field on a entity type (in my example it was the user object). - The...
View ArticleDocument the Filter annotation class
Follow-up for #1868772-105: Change notice: Convert filters to plugins+++ b/core/modules/filter/lib/Drupal/filter/Annotation/Filter.phpundefined@@ -0,0 +1,26 @@+class Filter extends Plugin {++ public...
View ArticleRefactor get*Controller() methods in EntityManager
Now that the instance storage of the controllers has changed. We have alot of duplication. We can refactor this out to just call a generic getController method.AttachmentSizeStatusTest...
View ArticleOperators in views UI missing for date field
I was attempting to create a view that shows events in the future, so wanted to show only items where the date field is greater than today's date. The necessary operator (greater than) is missing, as...
View ArticleReplace drupal_container() with Drupal::service() in the user module
drupal_container() is deprecated, and all calls in the user module need to be replaced with Drupal::service(), except for where the module_handler service is requested, which needs to be replaced with...
View ArticleMake the throbber go faster (perceived speed) every release
Like the mozilla bug [1], should we make the throbber [2] go faster every release?Many sites use the default throbber and by making the animation go faster, we "fake" that the site (or ajax call) will...
View ArticleDesign and implement style changes to signify disabled views on the Views UI...
Follow up to #1921748: Views UI gives no indication that you are editing a disabled view. That will give us the status of a view on the edit form wrapper. So then we can actually do something with this...
View ArticleRemoving a single contextual filter leads to removement of all contextual...
When removing a single contextual filter, this leads to removement of all contextual filters.Steps to reproduce: - Installing empty drupal 8.x - Building a custom view with two contextual filters. -...
View ArticleUnsupported media-type request should return 406 (Not acceptable)
Currently, requesting an invalid media type returns 405 (Not allowed). The HTTP spec provides 406 (Not acceptable) for this case.For example, this occurs if a client send "Accept:...
View Articledrupal_parse_info_file still tells developers to use variable_set and...
The documentation for drupal_parse_info_file tells developers to use variable_set and variable_get to create module settings.Info files are NOT for placing arbitrary theme and module-specific settings....
View ArticleUse derivatives for action plugins
Follow-up for #1846172: Replace the actions API I'd love to see if we could use derivatives to provide one for each entity type.For instance, we need a "delete entity" action that would work on any...
View ArticleAdd a postExecute() step to action plugins
Follow-up for #2001190: Use derivatives for action plugins<?php+class SaveComment extends ActionBase {+ public function execute($comment) {+ $comment->save();+...
View ArticleReplace drupal_container() with Drupal::service() in the aggregator module
drupal_container() is deprecated, and all calls in the aggregator module need to be replaced with Drupal::service(), except for where the module_handler service is requested, which needs to be replaced...
View Article[META] Replace drupal_container() with Drupal::service() in core modules
Problemdrupal_container() is deprecated, and all calls in the core modules need to be replaced with Drupal::service().One exception is where the module_handler service is requested:<?php...
View ArticleConvert core/modules/views/lib/Drupal/views/Tests/PluginTypeListTest.php to...
Task to convert core/modules/views/lib/Drupal/views/Tests/PluginTypeListTest.php to phpunit. See #1938068: [Meta] Convert UnitTestBase to PHPUnit.
View ArticleNode preview removes file values from node edit form for non-displayed items
When a node with a multiple value file field contains items that are set to not be displayed, previewing changes to the node will remove all but the first undisplayed item from the field values.Steps...
View ArticleDisallow firing hooks during update
Problem/MotivationIn order to get a reliable and testable update environment, we have actively tried to avoid hooks during update and preached against them. It doesn't quite work tho.Proposed...
View ArticleRename Views method add_additional_fields() to addAdditionalFields()
Part of meta-issue #1856630: [META] Rename Views methods to core standardsAttachmentSizeStatusTest resultOperationsviews-add_additional_fields-rename.patch1.03 KBIdleFAILED: [[SimpleTest]]: [MySQL]...
View Article