Can't create CPSCourrier Site

"Santi Camps" <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi all,

I'm just trying to install CPSCourrier using CPS 3 svn head,  and have
a problem creating a "CPSCourrier Site" object.   The traceback is
that one:

Exception Type  	ValueError
Exception Value 	undefined property 'title'

Traceback (innermost last):

    * Module ZPublisher.Publish, line 115, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 41, in call_object
    * Module Products.CPSCourrier.factory, line 114, in
addConfiguredCPSCourrierSite
    * Module Products.CPSDefault.metafactory, line 279, in addConfiguredSite
    * Module Products.CPSDefault.factory, line 102, in addConfiguredSite
    * Module Products.CPSDefault.metafactory, line 141, in afterImport
    * Module Products.CPSDefault.metafactory, line 238, in importMetaProfiles
    * Module Products.CPSDefault.metafactory, line 159, in _importMetaProfile
    * Module Products.GenericSetup.tool, line 248, in runAllImportSteps
      __traceback_info__: profile-CPSCourrier:default
    * Module Products.GenericSetup.tool, line 716, in _doRunImportStep
      __traceback_info__: relation
    * Module Products.CPSRelation.exportimport, line 72, in importRelationTool
    * Module Products.GenericSetup.utils, line 748, in importObjects
      __traceback_info__: portal_relations
    * Module Products.GenericSetup.utils, line 744, in importObjects
      __traceback_info__: relations/cpscourrier
    * Module Products.GenericSetup.utils, line 510, in _importBody
    * Module Products.CPSRelation.exportimport, line 124, in _importNode
    * Module Products.GenericSetup.utils, line 680, in _initProperties


It seems to be a problem in the
CPSCourrier/profiles/default/relations/cpscourrier.xml   Or perhaps
I'm doing something wrong ?

Force the creatation of the property solve the problem for the
"inverse_id" property, but for "title" property causes an "Invalid or
duplicate property_id".   Finally, that relations/cpscourrier.xml
works, without "title" property, and forcing the creation of the
property "inverse_id", but I'm not sure to obtain the right result:

<?xml version="1.0"?>
<object name="cpscourrier" meta_type="IOBTree Graph">
 <relation name="is_reply_to" meta_type="IOBTree Relation">
  <property name="inverse_id" type="string">has_reply</property>
 </relation>
 <relation name="has_reply" meta_type="IOBTree Relation">
  <property name="inverse_id" type="string">is_reply_to</property>
 </relation>
</object>


Anybody with the same problems ?  Thanks in advance
-- 
Santi Camps
Earcon S.L. - http://www.earcon.com
                  - http://www.kmkey.com
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.