More info, more questions: I tried adding the mixin "mix:referencable" to the nodes of the type nt:folder. Unfortunately they do not seem to be "open" for it:

ERROR info.magnolia.cms.core.DefaultContent DefaultContent.java(addMixin:914) 15.08.2008 11:37:48 Node - /public/ a/at does not allow mixin type - mix:referenceable

Any other ideas? Thanks!

-Will

On 15.08.2008, at 10:39, Will Scheidegger wrote:

Dear Magnolians

I'm faced with the problem that HierarchicalUserManager uses nt:folder to structure the user accounts - and nt:folder nodes do not have a UUID anymore (since Mag 3.6). Due to the lack of UUID the nodes cannot be activated anymore. To resolve the problem Grégory proposed:
On 09.08.2008, at 15:06, Will Scheidegger wrote:

"Either fix HUM to use another type or let it had mix:referenceable at runtime."

I'd rather not change HUM because I want my solution to be as much "Magnolia-compatible" (for future updates) as possible. And I don't know much about nodetype manipulation, and nothing about nodetype manipulation at runtime. Can anyone give me a few pointers to get started?

I found Content.addMixin():
- Is that what I want? Isn't it rather a super type "mix:referencable" that should be assigned to my nodes (as I do it with custom nodetypes)? - Where should this be done: When you create the node? This would only help for new nodes. Should I loop through all nodes and add the mixin (if that's what I need to do)?

Thanks for the help!

Will
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to