Created on 18 June 2025, about 2 months ago

Problem/Motivation

Method is meant to return a string always. When the plugin is not configured, it presently returns a Drupal\Core\StringTranslation\TranslatableMarkup with content 'Always cache'.

\Drupal\views_advanced_cache\Plugin\views\cache\AdvancedViewsCache::summaryTitle(): string

Steps to reproduce

  1. Install Views Advanced Cache
  2. Open any view and set the cache to "Advanced Caching"
  3. WSOD even on page reload

Proposed resolution

Cast the TranslatableMarkup to string before returning.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • @todo
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia elc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

  • !17Summary
    Merged

    🇦🇺Australia elc
    updated about 1 month ago
  • !16Summary
    Merged

    🇦🇺Australia elc
    updated about 2 months ago

Comments & Activities

Production build 0.71.5 2024