Contributor View is Invalid After Contributor Edit

Created on 18 July 2024, about 2 months ago
Updated 6 September 2024, 1 day ago

Problem/Motivation

When editing contributors, caches for references are not invalidated. This results in views of references that are not accurate with the underlying data.

Steps to reproduce

  1. Create a reference with a contributor.
  2. Visit the view page for the contributor (/bibcite/contributor/%).
  3. Edit the contributor to change a name part (ex: lastname)
  4. On save, the system will return you to the contributor view (/bibcite/contributor/%)
  5. Bug: the name reflected in the contributor view (bibcite_contributor) will not be the same as the name parts saved for the contributor.

Proposed resolution

Add cache invalidation to the contributor presave for references to which the contributor is added.

Remaining tasks

Add cache invalidation to the contributor presave for references to which the contributor is added.

User interface changes

None

API changes

There's an API?

Data model changes

No data model changes.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AndrewGearhart

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

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024