[Zope-CMF] CMF custom Portal Product / portal_type

Mr. Udatny rude@rosa.com
Wed, 30 Jan 2002 08:25:37 +0100


  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)

-->