modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

MODX 3 alpha1 - Deleting resource with new switch (checkbox) shows duplicate in tree #14893

Closed muzzwood closed 4 years ago

muzzwood commented 4 years ago

Bug report

Summary

Deleting a resource using the deleted switch (checkbox) displays a duplicate of the deleted resource in the resource tree.

Screenshot_2019-12-13 Editing Home MODX Revolution

Step to reproduce

Edit a resource, click deleted, then click save. You'll see two of the same deleted resource in the resource tree.

Observed behavior

The issue occurs when the user clicks deleted and then save. The duplicate disappears when the page is reloaded.

Expected behavior

Only one instance of the resource should show.

Environment

MODX version 3.0.0-alpha1

Edit: Undeleting the resource in the same manner causes the same issue.

Mark-H commented 4 years ago

Fixed in alpha2.