Undefined method deleteVotes() used

Created on 16 February 2024, 9 months ago
Updated 23 March 2024, 8 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.71.5 2024