Problem with imageSelectors in x-data on XP 6.7?

Enonic version: 6.7.2
OS: Ubuntu 16

Hi.

When I run my application in XP 6.7 the content studio suddenly stops loading the selected content.

I think the problem is a mixin that has a imageSelector in it which is used as x-data. When I comment out the x-data line from my site.xml the content can be reloaded the in the Content Studio.

In version 6.2 and earlier the mixin was working.

/Gustaf

Hi Gustaf

Does this happen on new and existing content? If it happens on both then it seems to be a mixin-bug with ImageSelectors. Otherwise it can be a dead reference (but that shouldn’t crash admin).

Can you paste your mixin plus the row from your contenttype where it is used?

Here is the mixin:

<?xml version="1.0" encoding="UTF-8"?>
<mixin>
	<display-name>Selected image</display-name>
	<items>
		<input type="ImageSelector" name="selectedImage">
			<label>Select image</label>
			<occurrences minimum="0" maximum="1"/>
			<config>
				<allowPath>./*</allowPath>
			</config>
		</input>
	</items>
</mixin>

I’m using this mixin as x-data in site.xml:

<x-data mixin="select-image"/>

I’m not 100% sure, but I think it happens on both new and existing content.

Hi Gustaf

We reproduced this issue and registered the bug in our system. The fix will be available in upcoming version 6.8 of XP.

1 Like

We have just decided to release a 6.7.3 version of Enonic XP, and the fix for this will be included there as well.

We hope to have 6.7.3 ready this week. If nothing very critical happens, it should at least be ready by Monday.

Looks like a Monday release is most likely. The RC1 have just been built, so we need Friday for testing. And of course, if bugs are found, the released will be postponed until we have a fix. In the meantime, for test and development environments, it is possible to use the RC1. It is available here: http://repo.enonic.com/public/com/enonic/xp/distro/6.7.3-RC1/

That’s very nice. Thanks!

And now, 6.7.3 is out: https://discuss-3.enonic.com/t/enonic-xp-6-7-3-has-been-released