Using the URL alias UI to change aliases doesn't do necessary...
Problem/MotivationQuoting @effulgentsia in #2335661-23: Outbound path & route processors must specify cacheability metadata: See also #2417793-46: Allow entity: URIs to be entered in link fields,...
View ArticleAutomatic conversion of false to array is deprecated in...
Problem/MotivationI need to remove this line for a our enviroment.Automatic conversion of false to array is deprecated in history_node_view_alter() (line 145 of core/modules/history/history.moduleSteps...
View ArticleEntityTypeBundleInfo returns wrong language
Problem/MotivationEntityTypeBundleInfo returns wrong language version when called before language negotiation is finished.Turns out it still has a static cache property (not aware of cache contexts...
View ArticleRoute "_title_arguments" computation may be incorrect
Problem/MotivationThe current implementation of the title resolution mechanism does not behave as expected when both _raw_variables and _title_arguments are set in a route. Specifically, when...
View ArticleAdd an "Enable Display field" checkbox to the image field
Problem/MotivationFile field has a "Enable Display" field. FIle Field storage settings example:When you uploading files, file widget has "Display" checkbox. If it checked file formatter shows files for...
View ArticleSelected yet disabled individual options from checkboxes widget don't...
Problem/MotivationIt is possible to programatically disable individual options on a checkboxes widget with the intention to show the selected value to users but disallow deselection, but if you do so...
View ArticleAllow altering of the language fallback for path aliases
Problem/MotivationFollowing is the current language fallback logic used in the path.alias_repository service: // Always get the language-specific alias before the language-neutral one. // For example...
View ArticlePrivate file access gives 404 not found
Problem/MotivationOn one of my projects, i am not able to access any private file that is in a subdirectory. I always get a 404 not found.A classic url would be :...
View ArticleImage field generates only default language URL when linking to corresponding...
Problem/MotivationImage field should generate a correct URL when it is pointing to link that is multilingual entity. Currently it is not language dependant. It is expected to be language...
View ArticleThe documentation for the function FormattableMarkup::placeholderFormat...
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Rend...Expected result$this->placeholderFormat('<a href=":foo">link text</a>, [':foo' =>...
View ArticleSDC: component library not alterable
Problem/MotivationWhen a component declare a library, its path is made relative to core because https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co.../** * Takes a path and makes...
View ArticleUndefined array key 0 in Drupal\Core\Database\Query\Condition->condition()
Problem/MotivationI have to remove the Warning: Undefined array key 0 en Drupal\Core\Database\Query\Condition->condition() (línea 116 de...
View ArticleHook presave does not set original correctly when editing non-default...
Problem/Motivation\Drupal\Core\Entity\EntityStorageBase::doPreSave does not reload the 'original' node into $entity->original when workflows are enabled for the bundle and the entity being updated...
View ArticleRefactor LinkFieldTest, convert some methods to a Kernel test
Problem/MotivationLinkFieldTest::testLinkFormatterQueryParametersDuplication doesn't make any HTTP requests so should be a Kernel test. It has shared code with ::doTestURLValidation() in that test so...
View ArticleSessionHandler::read should update session timestamp instead of only during...
Problem/MotivationCurrently you can set "gc_maxlifetime" which states in the docs: # Set session lifetime (in seconds), i.e. the time from the user's last # visit to the active session may be deleted...
View ArticleEntityReferenceFieldItemList::referencedEntities might not return up-to-date...
Problem/MotivationEntityReferenceFieldItemList::referencedEntities in its current implementation will collect all the target ids from the field items and then collect the referenced entity objects by...
View ArticleSession fixation for anonymous users - discard invalid session identifiers...
Problem/MotivationIf a user sends us a session cookie that contains a session ID that we do not have in our database we should throw away their session id and give them a new one. But we don't.Steps to...
View ArticleImageStyle::getReplacementID missing from interface
Problem/MotivationImageStyle::getReplacementID is written like its implementing an interface but it doesn't exist on the interface: /** * {@inheritdoc} */ public function getReplacementID() { This...
View ArticleReplace usage of dblog module at tests with alternative
Problem/MotivationThis is follow-up issue from #3496117: Remove unnecessary usage of dblog module at tests.Some tests use dblog module to check log messages, this requires database connection. In order...
View ArticleRun CSpell on all files when CSpell-related files change
Problem/MotivationAs proposed by @quietone in #3337327: CSpell dictionary is out of sync, we want to do a CSpell on all files when CSpell related files change.The place to make this happen would be in...
View Article