Quantcast
Channel: Issues for Drupal core
Browsing all 298941 articles
Browse latest View live

Session name suffix is ignored if cookie_domain is set

Problem/MotivationThe name_suffix in the session configuration introduced via #2868384: Allow the session name suffix to be configurable doesn't take effect if the cookie_domain is manually defined....

View Article


Exception: Warning: Undefined array key "preprocess functions"...

Problem/MotivationGot the error while testing against the bootstrap theme, 8.x-3.25Exception: Warning: Undefined array key "preprocess functions"...

View Article


Image may be NSFW.
Clik here to view.

When saving the administrator role setting no success message is presented

Problem/MotivationWhen using the minimal install profile, no administrator role is created. To manually create an administrator role, you must first add the role, then set the administrator role in...

View Article

options_allowed_values() cache pollution

Problem/MotivationUnder certain circumstances, it is relatively easy to cause cache polution for options_allowed_values's drupal_static.Steps to reproduceIn custom entity: public static function...

View Article

Views date field/timezone breaks in timezones that have varying offset, e.g. BST

Problem/MotivationWhen building queries that make use of timestamp field by granularity (e.g. \Drupal\views\Plugin\views\sort\Date::query in core and anything custom/contrib that follows that pattern),...

View Article


Cache redirect error displayed when using 'view own unpublished...

Problem/MotivationSince upgrading to 10.4.1 I have seen a user warning about overwriting cache redirects:User warning: Trying to overwrite a cache redirect with one that has nothing in common, old one...

View Article

Allow executing unit tests on multiple PHP images without having to duplicate...

Problem/MotivationAfter commit of #3477529: [CI] Remove the 'with-database' requirement for unit tests, we do not need to run Unit tests for each db configuration anymore. Steps to reproduceProposed...

View Article

Documentation for FileRepositoryInterface::writeData() says it creates a file...

Problem/MotivationThe docblock for Drupal\file\FileRepositoryInterface::writeData() has this line:Writes a file to the specified destination and creates a file entity.However, the implementation in...

View Article


Allow returning explicitly to the prior nesting level in transactions (aka...

Problem/MotivationRight now, a Transaction object in Drupal leads to a COMMIT or a RELEASE SAVEPOINT only when it goes out of scope. In practice, it's an autocommit.We have code like try { $transaction...

View Article


Local task name expectation in getFeaturedPageActions is fragile

Problem/MotivationIn #3511416-3: Integrate with Drupal core's 11.2's experimental Navigation Top Bar I found that navigation top bar identifies the featured page action for editing based on expecting...

View Article

Make ViewAjaxResponse cacheable

Problem/MotivationAJAX responses from views are never cached by reverse-proxies like Varnish. That's because ViewAjaxResponse does not extend CacheableAjaxResponse so it has no cacheability...

View Article

[policy, no patch] Should Hook classes be marked final

Problem/MotivationThere has been some discussion on whether Hook classes should be marked final.I strongly think they should not be, at least until we have an explicit way to replace a modules...

View Article

Image may be NSFW.
Clik here to view.

Modal blocks half of file input

Problem/MotivationWhen you use the 'Add media' button to open the media library in a module, the input to upload a file is focussed. This scrolls that element to the top of the modal, but the label and...

View Article


Implement PSR-20 in datetime.time service

Problem/MotivationPSR-20 defines a standard interface for system clocks. The datetime.time service is a system clock that fits this description.If it implemented PSR-20, the service could be used with...

View Article

update.php [continue] url return 404

Problem/MotivationUpdating to Drupal 11.1.3, the database can't be updated by UI interface. (no ssh possible on the remote host service).Steps to reproduceUpdate Drupal core and modules on local to...

View Article


Add new block text is breaking when Navigation is Collapsed

Problem/MotivationAdd new block text is breaking when Navigation is CollapsedSteps to reproduceGo to the Home > Administration > Configuration > User Interface Then collapse the navigation and...

View Article

Replace \Drupal:: with $this->container->get() in test classes of Basic...

View Article


ModulesUninstallForm.php assigns string value to...

Problem/MotivationModulesUninstallForm.php assigns string value to ['attributes']['class'] which can cause complication since in most cases Array is expected.In our case, hook_link_alter() was used in...

View Article

Allow modules to add their own cache tags to a specific routing cache entry

Problem/MotivationDrupal's Routing/RouteProvider caches the association between an incoming path and matching routes (including parameters), for each request. This happens after all other processes are...

View Article

Integrate the new Navigation Icon API with NavigationLinkBlock

Problem/MotivationOnce #3483209: Navigation leverage icon core API provides a new icon set for Navigation, the approach used by NavigationLinkBlock to define icon might need to be reviewed to make use...

View Article
Browsing all 298941 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>