U4-11557 - Multiple Media Picker property editor error on duplicate item

Created by Mark Owen 06 Aug 2018, 13:32:17 Updated by Mark Owen 08 Aug 2018, 08:12:17

What did you do?

  • Select an image in the sidebar of a multiple media picker property editor
  • Click submit
  • Click the plus to add another image
  • Select the same image again
  • Click submit
  • Save the page
  • Refresh the page

What did you expect to happen?

Either:

  • The property editor should have stopped me from picking a duplicate image or
  • The property editor should show all the images I have added and work as normal

What actually happened?

  • No images previously added display
  • The plus icon becomes squashed
  • The following error appears in the console:

Duplicates in a repeater are not allowed. Repeater: image in images key: object:0ID at /umbraco/lib/angular/1.1.5/angular.min.js:161:202 at Object.fn (/umbraco/lib/angular/1.1.5/angular.min.js:90:12) at Object.$digest (/umbraco/lib/angular/1.1.5/angular.min.js:90:356) at Object.$apply (/umbraco/lib/angular/1.1.5/angular.min.js:92:431) at j (/umbraco/lib/angular/1.1.5/angular.min.js:101:80) at r (/umbraco/lib/angular/1.1.5/angular.min.js:104:449) at XMLHttpRequest.w.onreadystatechange (/umbraco/lib/angular/1.1.5/angular.min.js:106:90) /umbraco/lib/angular/1.1.5/angular.min.js:63

1 Attachments

Comments

Sebastiaan Janssen 08 Aug 2018, 07:49:04

Hi @code-mark.owen - I can't reproduce this problem on 7.11.1 so I would encourage you to consider an upgrade to a newer version of Umbraco.


Mark Owen 08 Aug 2018, 08:12:17

Thanks @sebastiaan. Just tried this myself in a latest version as well and can confirm that I can't replicate it like you couldn't.


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category: Editor

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.6.12

Due in version:

Sprint:

Story Points:

Cycle: