Undefined method deleteVotes() used

Created on 16 February 2024, 4 months ago
Updated 23 March 2024, 3 months ago

Problem/Motivation

See Poll.php::postDelete

  public static function postDelete(EntityStorageInterface $storage, array $entities) {
    parent::postDelete($storage, $entities);

    // Delete votes.
    foreach ($entities as $entity) {
      $storage->deleteVotes($entity);
    }

....

Proposed resolution


We should utilise the vote storage class.

Remaining tasks

Create a MR.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024