Media Handler - File Upload Component - problem saving fileReference

Description

Intro

There is a case that fileReference is set as an array in the JCR.

This happens when there is an image, which already has an asset set, editing it, clearing the reference and setting a new image.

Reproduction

Actual behavior

fileReference

String[]

/content/dam/myproject1/prague.jpg, /content/dam/myproject1/prague.jpg

Expected behavior

fileReference

String

/content/dam/myproject1/prague.jpg

Side note

Assignee

Stefan Seifert

Reporter

Dinh Bao Dang

Labels

None

Components

Fix versions

Priority

Minor
Configure