Trouble with related objects eZ 4.0.1 and Online Editor 5.0

Author Message

Anja Lundin

Tuesday 24 March 2009 12:56:36 am

Hi!
I have troubles with related images. I use eZ publish 4.0.1 and OE 5.0.

This is what I did and what happens:
I creataed a new object containing a XML-field. I added an image in the XML-field in the OE. I publish the new object. The image is now stored as related to the object and as an image under media. Correct so far.

I then edited the object, deleted the image from the XML-field and uploaded a new image. I published the object again. The new image are now related to the object and stored under media. BUT: Viewing the first image it says that image is also related to the object. When I view the object it also says that there are TWO images related to the object. In edit view for the object there is only one image (the later image) available under related objects. I can not remove the relation of the first image in any view. This will store a huge amount of images under media that are not being used by any objects.

Is this a bug and if so is there a solution?

Best regards!
Anja Lundin, Novitell AB, Sweden

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Thursday 26 March 2009 3:47:05 am

This also affects eZ publish 4.1.0.

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Anja Lundin

Thursday 26 March 2009 3:57:10 am

Bugreport here:
http://issues.ez.no/IssueView.php?Id=14669&ProjectId=3

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

André R.

Thursday 26 March 2009 5:06:46 am

Thanks for the report and sorry for not responding earlier, moved error report to oe tracker:
http://issues.ez.no/IssueView.php?Id=14670&activeItem=

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Anja Lundin

Thursday 26 March 2009 5:50:22 am

No problems! Thank you for moving the error report to oe tracker.

I was a bit unsure first if it was OE or eZ publish, but now I've tried with ezdhtml extension and it works. So you're right it must be OE...

------------------------------------
Anja Lundin
Developer, Novitell AB
Sweden

www.novitell.se

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.