enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
202 stars 34 forks source link

Unable to modify content of media type #8281

Closed ComLock closed 4 years ago

ComLock commented 4 years ago

Error: Value of type [com.enonic.xp.data.PropertySet] cannot be converted to [Reference]

The modify https://github.com/enonic/app-fotoware/blob/master/src/main/resources/tasks/syncSite/syncSite.es#L282-L295

The error actually occurs before the xdata has been applied, but here is the xdata anyway. https://github.com/enonic/app-fotoware/blob/master/src/main/resources/site/x-data/fotoWare/fotoWare.xml

ComLock commented 4 years ago

Freight from LT to NO.pdf

alansemenov commented 4 years ago

Fails on this SVG as well (download, change extension from .zip to .svg)

ComLock commented 4 years ago

So I assume since the comment is gone, you have discovered the workaround don't work? Cause it don't work for me.

alansemenov commented 4 years ago

Apparently that was not the (only) case, no. Investigating further...

ComLock commented 4 years ago

I have verified this fixed in a SNAPSHOT build of Enonic XP 7.5.0

sigdestad commented 4 years ago

Can we get this merged into the layers branch?

anatol-sialitski commented 4 years ago

Can we get this merged into the layers branch?

this commit already exists in the epic-subproject branch.