U4-6579 - error deleting media item in umbraco 7

Created by andrew shearer 01 May 2015, 03:39:32 Updated by Claus Jensen 07 Aug 2015, 08:08:39

Is duplicated by: U4-6578

  1. add new item to root level of media section
  2. delete media item

actual results

404 not found: /umbraco/backoffice/UmbracoApi/Media/GetById?id=-1

this is not an issue when adding a media item to a folder, only at the root level.

Umbraco version 7.2.2 assembly: 1.0.5529.18522

Comments

Dave Greasley 25 Jun 2015, 16:23:19

@shearer3000 are you deleting using the tree ?


Dave Greasley 25 Jun 2015, 16:32:21

have managed to recreate this:

  • create media item in root
  • view media item
  • click 'Actions' -> 'Delete'
  • Media item IS actually deleted. View is redirected to parent media item which is -1


andrew shearer 25 Jun 2015, 20:27:07

@davidgreasley@btopenworld.com yep


Dave Greasley 25 Jun 2015, 20:38:11

fixed in https://github.com/umbraco/Umbraco-CMS/pull/729


andrew shearer 25 Jun 2015, 21:17:15

cool thanks


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty:

Category: UI

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: