Skip to content

[5.x]: Restoring from trash fails to work from the slideover #17466

Open
@rishifter

Description

@rishifter

What happened?

Description

On a site we are working on, we have a nested set of relational entries meant to be used as a table of contents. The authors use the slideover to make edits to the nested entries. We noticed that restoring deleted entries from the slideover doesn't seem to work, but it works when opening the nested entry in a new tab.

Steps to reproduce

  1. Delete an item from within a nested entry from the slideover
  2. It should show up in trash — and it does
  3. Visit the trash, and restore the entry
  4. Save the nested entry
  5. Save the parent entry

Expected behavior

The item should be restored and visible.

Actual behavior

The item still shows up in trash.

Following the regular restore process, but when the entry is opened in a new tab, it seems to restore as expected.

Sharing a video showing the issue: https://drive.google.com/file/d/1rBopYAQ8blKHaS3up2HPWvW19i0CU-sj/view?usp=share_link

Craft CMS version

5.7.7 Pro

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions