[Erp5-dev] error in portal_categories

Shrenik Bhura shrenik.bhura at intelliant.net
Fri Aug 26 14:53:40 CEST 2005


Hi Romain,

Hope you had a wonderful vacation.

Had done that to correct it. You may expect that much at least for all
your training efforts. ;-) 
But this is the state from a default installation so it seems
modification is required in erp5 core to prevent this error from
occurring in a new installation. 
Pls correct me if I am wrong.

Regards,
SB

On Fri, 2005-08-26 at 07:56 -0400, Romain Courteaud wrote:

> Hello,
> 
> It's seems this is just a configuration error.
> To correct this, edit the portal type 'Category Tool'
> https://localhost:9080/erp5_demo/portal_types/Category%20Tool
> 
> Modify the action 'List' with this url:
> string:${object_url}/Folder_viewContentList
> 
> The old value was:
> string:${object_url}/Folder_list
> And Folder_listy does not exists, that's why it failed.
> 
> Romain
> 
> 
> On Fri, Aug 26, 2005 at 05:25:11PM +0530, Shrenik Bhura wrote :
> > Hello,
> > 
> > An error was encountered when I clicked on 'Contents' to switch to list
> > view.
> > 
> > The details of the same are below.
> > 
> > Seems a key-error in Utils2.
> > 
> > Request URL
> > http://localhost:9080/erp5_demo/portal_categories/list
> > Exception Type
> > KeyError
> > Exception Value
> > 'Folder_list'
> > 
> > Traceback (innermost last):
> > 
> > 
> >       * Module ZPublisher.Publish, line 101, in publish
> >       * Module ZPublisher.mapply, line 88, in mapply
> >       * Module ZPublisher.Publish, line 39, in call_object
> >       * Module Products.ERP5Type.Base, line 1484, in list
> >       * Module Products.ERP5Type.Utils2, line 47, in _getListFor
> >         __traceback_info__: ('Category Tool', 'Folder_list')
> >       * Module OFS.Traversable, line 204, in restrictedTraverse
> >       * Module OFS.Traversable, line 185, in unrestrictedTraverse
> >         __traceback_info__: ([], 'Folder_list')
> >       * Module OFS.ObjectManager, line 670, in __getitem__
> > 
> > KeyError: 'Folder_list'
> > 
> > Do let me know if any more info is required.
> > 
> > Cheers,
> > SB
> > 
> > 
> 
> > _______________________________________________
> > Erp5-dev mailing list
> > Erp5-dev at erp5.org
> > http://erp5.org/mailman/listinfo/erp5-dev
> 
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050826/8b3f579f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-4.png
Type: image/png
Size: 822 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050826/8b3f579f/attachment.png>


More information about the Erp5-dev mailing list