Drupal\views\Plugin\views\cache\CachePluginBase->generateResultsKey() passes invalid data to CacheContextsManager->convertTokensToKeys

Created on 20 June 2015, over 10 years ago
Updated 24 February 2023, over 2 years ago

Problem/Motivation

https://qa.drupal.org/pifr/test/1076308

According the PHPDocs in the CacheContextsManager the calling method is REQUIRED to send an array of strings. Currently it is not doing so, and the assert statement reveals this. Whether or not this is an underlying cause of a greater issue is unknown.

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->

Steps to reproduce

Proposed resolution

TBA

Remaining tasks

Issue summary update
Reroll
review
commit

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

🐛 Bug report
Status

Needs work

Version

10.1

Component
Cache 

Last updated 2 months ago

Created by

🇺🇸United States Aki Tendo

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

  • Runtime assertion

    It deals with the addition of an assert() statement(s) to the code, and/or contains a test patch where one is failing indicating a need to change code or the documentation the statement was based on.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024