Hi Jan,
I checked and it was indeed mgnl:contentNode. Mgnl:resource didn't work, it
threw exceptions all over the place:
RepositoryException occured in CachingImageScaler: /..image path not
shown.../thumbnail: mandatory property {http://www.jcp.org/jcr/1.0}data does
not exist
javax.jcr.nodetype.ConstraintViolationException: /..image path not
shown.../thumbnail: mandatory property {http://www.jcp.org/jcr/1.0}data does
not exist
After changing the node type to mgnl:content however it worked, should I be
worried bout any side effects?:)
regards,
Hans
From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Haderka
Sent: dinsdag 19 juli 2011 13:31
To: Magnolia User-List
Subject: Re: [magnolia-user] dms activation ignores subnodes
What is the type of the subnode you create? If it is the mgnl:contentNode then
this is considered by Magnolia as another document which is why it is skipped
during activation. You need to make sure that such subnode is (afaik) of type
mgnl:resource to have it included in activation together with the parent
document.
HTH,
Jan
On Jul 18, 2011, at 10:17 PM, Hans Wichman wrote:
Hi List,
We have a photomodel which looks at image in the dms and creates thumbnail
nodes for each image (based on what the stk tag does). So far so, however when
we activate a folder with these images, the thumbnails are ignored.
The only way to fix this is define a jcr browser for the dms and activate the
nodes through there.
What is the right way to make sure these subnodes are not ignored during
activation?
We're using 4.3.3 and current don't have the option to upgrade.
Regards,
Hans
________________________________
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to:
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------
________________________________
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to:
<[email protected]<mailto:[email protected]>>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------