U4-6507 - Media section: "request error" shown when deleting a root content which is currently being selected

Created by Peter Kongyik 07 Apr 2015, 08:00:22 Updated by Shannon Deminick 26 Jun 2017, 07:11:21

Repro steps:

  1. create a "folder" in the Media section
  2. select that folder - this is important
  3. now delete that folder (have it push to the recycle bin)

Now umbraco sends a request to /umbraco/backoffice/UmbracoApi/Media/GetById with an id of -1, and the error message is shown - see attached screenshot

Expected: don't send "GetById" request when deleting a root content that is selected.

Note: this does not happen when not a root content is selected and gets deleted, nor when a root content gets deleted while it is NOT selected. Note 2: Content section might be affected, I didn't check that.

1 Attachments

Comments

Shannon Deminick 26 Jun 2017, 07:11:22

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Very Easy

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.4

Due in version:

Sprint:

Story Points:

Cycle: