Views module is adding an extra div.views-element-container for no reason
Problem/MotivationViews module is adding an extra <div> element for no apparent reason when rendering a view block (and elsewhere maybe? haven't verified this). As if having the wrapper from both...
View ArticleUniqueField doesn't work on NumberWidget Entity field
Problem/MotivationWhen creating an integer field as shown in http://drupal.stackexchange.com/questions/188367/how-to-add-uniquefield-... , the UniqueField constraint throws the following error: The...
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 ArticleAdd hook_entity_postsave hook
Problem/MotivationIn order to intercept an entity after it has saved, both hook_entity_insert and hook_entity_update must be implemented.Proposed resolutionAdd hook_entity_postsave. Detect if entity is...
View ArticleSelectQuery::fields() must be an array, null given entity.inc on line 284...
Upgrading a very small site from 6.2 to 7.0, just looking for advice. When attempting to run update it starts and then dies here:An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information...
View ArticleMenu items - "Has children" flag is not reset on menu reordering
Problem/MotivationThe db column "has_children" in the table "menu_links" is a flag which marks if a menu item is a parent menu item. Its default is 0, i. e. no children. Once another menu item becomes...
View ArticleIndicate that grouping elements have child element errors for ux and a11y
Child elements in grouping elements like details, vertical tabs and fieldsets are invisible to the user when the grouping element is closed. To improve the user experience and accessibility we should...
View Article#size for Select field documentation is wrong
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...#size is currently representing the vertical number of lines.The following is false:#size: The size of the input...
View ArticleNew class: Drupal\Core\Template\AttributeCssClass
About a third of Drupal\Core\Template\Attribute is just for CSS Class handling. This code should be moved to it's own handler class.The new AttributeCssClass will descend from AttributeArray and that...
View Article[Ignore] Aki's test pit
This is a scratch pad area to test patches without polluting the main issue threads I'm working on.
View ArticleUpdate status should indicate security coverage
To support changes to the project application process, namely decoupling the ability to create full projects/releases from security coverage - we will need to provide indicators on the update status...
View ArticleThe Status for publishing field needs to be updated.
Updated to 8.3.0.alpha1 on my dev site. I got this error message in Status reportMismatched entity and/or field definitions The following changes were detected in the entity type and field definitions....
View ArticleDrupal Core 7.52 to 7.54
Hello, I am trying to upgrade Drupal Core 7.52 to 7.54 using drush up drupal and getting a 500 error and restoring my backup files and calling Bluehost. These are the errors in my error log. Could I...
View ArticleRemove all assert('string') calls from Drupal core because...
Problem/MotivationSee https://wiki.php.net/rfc/deprecations_php_7_2#assert_with_string_argument We don't want Drupal 8 to throw deprecation warnings if we can avoid it. The assert() calls we have are...
View ArticleDeep serialization for content entities to make an exact snapshot of an...
Problem/MotivationCurrently in ContentEntityBase::__sleep we remove the initialized fields which means that if an entity reference is contained in some of these fields and it was changed after...
View ArticleDate field doesn't allow attributes
My custom form date field is set up as follows:$form['right']['validfrom'] = array('#type' => 'date','#title' => $this->t('Start date'),'#description' => $this->t('The beginning...
View ArticleOptimize Drupal\Core\Template\Attribute
ProblemDrupal\Core\Template\Attribute has become a bit of a God class with too many responsibilities. Move CSS Class parsing code off to its own class and apply some speed improvements to the logic of...
View ArticleSerializing content entity form objects should deeply serialize the entity in...
Problem/MotivationThis is a follow-up for #2824097: Deep serialization for content entities to make an exact snapshot of an entity object's structure based on its current state to make the form cache...
View ArticleDateFormatter should not attempt to load a format from storage if the format...
As discovered in #2846485: Terrible performance when rendering multi-value fields in views, DateForamtter::format attempts to load a date format from storage even when a custom date format is passed...
View ArticleConsider renaming Migrate's cckfield plugins
Problem/Motivationcckfield plugins were introduced to make migrating cck fields easier but we're now using the same plugin type for D7 fields as well.This is confusing for developers as 'CCK' was...
View Article