Skip to content

Wishlist shows a completely different entry than the one originally saved #147

@knufri

Description

@knufri

Describe the bug

I have a strange behaviour. I have entries of the auction type, which is content that expires after a certain time. I have a cronjob that deletes the expired entries via a custom module with

$success = Craft::$app->elements->deleteElement($entry);

I don't know if it's the deletion routine or what the cause is. The remembered entries work for a while and then the wishlist suddenly shows completely different entries with a different entry type!

This is how it looks in the cp:
Image

It should be an entry of the type auction but in the frontend it shows an complete wrong entry. If multiple items on the list it shoes the same wrong entry for each item:

Image

So far I have no idea what this could be due to. I have already deleted the list type and created a new one, but the error keeps recurring 😢

Steps to reproduce

  1. Create a wishlist type
  2. Save items on list
  3. After a random time there are wrong entries on the list

Craft CMS version

Craft CMS PRO 5.5.10

Plugin version

3.0.4

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions