Datetime FAPI element type duplicates #prefix and #suffix
Problem/MotivationDatetime element support for #suffix key leads to #suffix being duplicate. Once after date and once after time.Ex.:$form['datetime'] = ['#type' => 'datetime','#default_value' =>...
View ArticleUpdate OutsideInBlockFormTest to test against Bartik, Stark, classy, stable...
Current \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest only test against the Bartik theme. It should test against Stark also like OffCanvasTest StepsCreate...
View ArticleAdd a format constraint to DateTimeItem to provide REST error message
Problem/MotivationIn #2786599: No way to post a datetime value with timezone and #2768651: Let TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX timestamps, for better DX it was pointed...
View ArticleComponent tests should not use Drupal\Tests\UnitTestCase but...
Problem/MotivationIn #2850797: Prepare our phpunit tests to be BC compatible with phpunit 5.x/6.x we found that some component tests are extending the core class Drupal\Tests\UnitTestCase. They should...
View ArticlePath alias changes for draft revisions immediately leak into live site
Problem/MotivationSteps to reproduce: 1. Create article with alias /hello 2. Create a new draft of that article with filling in /hello2 as the url alias 3. The article is immediately accessible at...
View ArticleImages lost when changing entity language
Hi all,images uploaded with the imagefield module are lost when the node language is changed. The status value is set to 0 on the file_managed table and deleted when running cron.Expected result: -...
View ArticleAdd the temporary files directory config to the example config overrides in...
There may be a logical explanation, however currently I could not find documentation regarding this change. In Drupal 7 you were able to set the public, private, and temporary files directory in the...
View ArticleTrack the latest_revision and latest_revision_translation_affected ID in the...
Problem/MotivationRight now there is nothing that tracks what the latest revision ID is for an entity. You can figure this out by querying for and joining the revision table against max(revision_id),...
View ArticleSort image style configuration
Problem/MotivationImage style configuration can have sorting issues that result in configuration diffs that have unnecessary changes.Proposed resolutionSort effects using the new schema...
View ArticlePage Title block's title behaves in a confusing way, especially with...
Problem/MotivationThe Outside In prototype introduced in #2753941: [Experimental] Create Outside In module MVP to provide block configuration in Off-Canvas tray and expand site edit mode allows a user...
View ArticleAdd FileBackend Cache
Problem/MotivationThe Cache PhpBackend uses the OPCache to get performance improvements. There are situations where this is bad, e.g. when often changing cache items crowd out real source files. This...
View Article[PP-3] Refactor REST routing to address its brittleness
Problem/MotivationIt's very hard to understand routing in the REST module, and it's very brittle, because:ResourceBase only sets _format for GET route, should also do so for POST/PATCH/DELETE routes. —...
View ArticleRedesign workflow configuration page to better visually describe the flow
Problem/MotivationEven with detailed lists of workflow states and transitions it is still quite difficult for users to internalize complex workflows without some visual aid or metaphorical...
View ArticleDatetime element's timezone handling is fragile, buggy and wrongly...
Problem/MotivationThe datetime element has intricate and opaque logic to handle timezones.It only works if the timezone intended by the user matches one of the following 4 (pseudocode) circumstances:...
View ArticleDetailed cron log description is not translatable
Problem/MotivationDetailed cron log description is not translatable. (/admin/config/system/cron)Run times of individual cron jobs will be written to watchdogProposed resolutionUse t() method in this...
View ArticleFatal error in serialization_update_8302() when updating to 8.3.0-rc2
I'm getting this error when testing the upgrade path:Error: Call to undefined method Drupal\Core\Config\Schema\Undefined::get() in Drupal\Core\Config\StorableConfigBase->castValue() (line 179 of...
View ArticleCannot revert from theme specific logo to global logo
Problem/MotivationAfter providing a theme specific logo, it can no longer be reverted to the global logo. Steps to reproduce- Install a clean Drupal 8.3.x site - Go to /admin/appearance/settings and...
View ArticleTest content_moderation with a non-bundleable content entity
Problem/MotivationThe Content Moderation module is not tested with an entity type that is not bundleable. We should add a test to ensure it works. The test should include uninstalling the module that...
View ArticleSerialize file content (base64) to support REST GET/POST/PATCH on file entity
Problem/MotivationFile entities and file/image fields do not currently work with the new REST GET/POST/PATCH/PUT operations.Proposed resolutionThe plan is to include file contents in base64-encoded...
View ArticleLet TimestampItem (de)normalize to/from RFC3339 timestamps, not UNIX...
Problem/MotivationWe're getting bug reports like this: We have added a date field to a node type called EVENT. When we use the default admin edit form for the node we have noticed that the values for...
View Article