Duplicate rows for some entities with multiple entity references

Created on 4 June 2024, 4 months ago

Problem/Motivation

When a single entity on a calendar has multiple entity references generating a row, the single entity can sometimes be displayed multiple times. Calendar checks for this, but the check only works if the two instances of the single entity are rendered sequentially. If another entity is rendered in between, the check fails. This is an issue with recurring dates and was called noticed in the smart_date queue at #3177760-10: Support Calendar module β†’ .

Steps to reproduce

  1. Install calendar, smart_date, smart_date_recur.
  2. Patch calendar per #3177761-6: Support for Smart Date, other contrib modules β†’ and smart_date per #3177760-13: Support Calendar module β†’ .
  3. Set up a content type with a smart_date recurring field.
  4. Create two nodes of that type. The smart_date field of one must recur over at least two dates. The date of the other node must be between the two occurrences of the first node.
  5. Set up a calendar such that it displays all dates of both nodes at once. The occurrences of the first node will appear twice.

Proposed resolution

Alter the check for repeated entities so that it remembers all entities processed, not just the last.

Remaining tasks

none

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apkwilson

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024