Skip to content

[4.x]: Photos are not restored after the revision is restored #13626

Closed
@iZerus

Description

@iZerus

What happened?

Description

I created a record, added photos to it. Then I deleted the photos. But when I decided to restore the previous version (where there were photos), the photos never recovered.
P.S. When deleting photos, photos remain in assets

Steps to reproduce

  1. Create a section with the Assets field (with versioning control)
  2. Create an entry in this section and attach photos to it
  3. Save it
  4. Delete photos from entry and save
  5. Try to restore the version with photos

Expected behavior

Photos must be present in the entry

Actual behavior

Photos are missing

Craft CMS version

4.5.3

PHP version

8.1

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

  • Redactor 3.0.4
  • Site Switcher 2.3.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions