[Zope-CMF] CMF custom Portal Product / portal_type

Florent Guillaume fg@nuxeo.com
Wed, 30 Jan 2002 12:29:03 +0000 (UTC)


Do you have an object called "URL" anywhere, even in the Types Tool ?
If so, change its name.


Florent



Mr. Udatny <rude@rosa.com> wrote:
>   Its me and my same problem again.
> 
> > When i try to add new....
> > check an available, custom portal_type
> > give it an id, submit the whole thing,
> > then i get always the same error;
> >
> >
> > Zope has encountered an error while publishing this resource.
> >
> > Error Type: AttributeError
> > Error Value: __getslice__
> 
> 
> i tried a lot (like building classes from other basetypes all kinds.., 
> setting permissions, playing arround) and didnt find a solution yet.
> 
> I think the time-saving possibility, to use the cm-/portal-functions of 
> CMF is gone for now.
> but anyway; im still looking for an answer/solution. so, if you have 
> anything interesting for me.... dont mind to post!
> 
> kind regards.
> 
> ud
> --
> 
> now using ;
> CMF 1.2
> Zope 2.5 win
> 
> <!--
> Traceback (innermost last):
>   File D:\GPzope\lib\python\ZPublisher\Publish.py, line 223, in 
> publish_module
>   File D:\GPzope\lib\python\ZPublisher\Publish.py, line 187, in publish
>   File D:\GPzope\lib\python\Zope\__init__.py, line 226, in 
> zpublisher_exception_hook
>     (Object: GPCHde)
>   File D:\GPzope\lib\python\ZPublisher\Publish.py, line 171, in publish
>   File D:\GPzope\lib\python\ZPublisher\mapply.py, line 160, in mapply
>     (Object: invokeFactory)
>   File D:\GPzope\lib\python\ZPublisher\Publish.py, line 112, in call_object
>     (Object: invokeFactory)
>   File D:\GPzope\lib\python\Products\CMFCore\PortalFolder.py, line 335, 
> in invokeFactory
>     (Object: GPCHde)
>   File D:\GPzope\lib\python\Products\CMFCore\TypesTool.py, line 701, in 
> constructContent
>     (Object: portal_types)
>   File D:\GPzope\lib\python\Products\CMFCore\TypesTool.py, line 430, in 
> constructInstance
>     (Object: ContentNode)
>   File D:\GPzope\lib\python\OFS\ObjectManager.py, line 287, in _getOb
>     (Object: GPCHde)
> AttributeError: (see above)
> 
> -->
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests
> 


-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com