Hi Zdenek,

thank you for the reply. I replaced the file you sent with no luck. I didn't 
define custom types, but in the demo project custom types are already defined. 
Might this lead to the problem?

I also get the same behavior on the magnolia live demo or a fresh 4.3.8 
Version. 

I really only added the new tab reference. Is there maybe something else to do, 
I missed?

Best regards,

Frank

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Zdenek Skodik
Gesendet: Dienstag, 2. November 2010 10:31
An: Magnolia User-List
Betreff: Re: [magnolia-user] Data Module: attach categorization to Contact data 
type

Hello Frank,

hm, it works for me, could you make sure your node type definitions are up to 
date?
Please find attached default definitions from Magnolia CMS 4.3.8 
(you can simply replace them, when your server is down, in case you haven't 
defined your own definitions).

-Zdenek


On Wed, 2010-10-27 at 15:39 +0200, frank rittinger wrote:
> Hello list,
> 
>  
> 
> I’m trying to attach categories to the predefined Contact data type in the 
> data module. I added the tabCategorization to the Contact dialog. All works 
> fine until I try to save a Contact with categories. I then get the following 
> JCR Exception:
> 
>  
> 
> 2010-10-27 15:21:38,309 ERROR 
> nfo.magnolia.module.admininterface.SaveHandlerImpl: no matching property 
> definition found for {}categories
> 
> javax.jcr.nodetype.ConstraintViolationException: no matching property 
> definition found for {}categories
> 
>       at 
> org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:770)
> 
>       at 
> org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:920)
> 
>       at 
> org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:420)
> 
>       at 
> org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:391)
> 
>       at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2290)
> 
>       at 
> info.magnolia.cms.core.DefaultNodeData.setValue(DefaultNodeData.java:280)
> 
>  
> 
> … following stack trace ommitted …
> 
>  
> 
> Adding other data to the Contact works fine.
> 
>  
> 
> Isn’t it possible to use the categorization module like this or am I missing 
> something?
> 
>  
> 
> Any help is welcome. Best regards,
> 
>  
> 
> Frank
> 
> 
> 
> _____________________________________________________________________
> 
> Vorstand: Ralf Heller, Udo Mobes 
> Vorsitzende des Aufsichtsrates: Kirsten Heller 
> Sitz der Gesellschaft: Gruenwaelderstrasse 10-14, D-79098 Freiburg 
> Amtsgericht Freiburg HRB 6218
> 
> Versand am 27.10.2010 15:36 von rittinger frank
> Validation-Code: 3743203507640
> 
> 
> 
> 
> ______________________________________________________________________
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to