Closed muzzwood closed 4 years ago
Deleting a resource using the deleted switch (checkbox) displays a duplicate of the deleted resource in the resource tree.
Edit a resource, click deleted, then click save. You'll see two of the same deleted resource in the resource tree.
The issue occurs when the user clicks deleted and then save. The duplicate disappears when the page is reloaded.
Only one instance of the resource should show.
MODX version 3.0.0-alpha1
Edit: Undeleting the resource in the same manner causes the same issue.
Fixed in alpha2.
Bug report
Summary
Deleting a resource using the deleted switch (checkbox) displays a duplicate of the deleted resource in the resource tree.
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.