[Erp5-dev] resolveCategory and category 'format'

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Mon Jun 2 16:34:35 CEST 2008


Hi All,

I noticed that portal_categories when asked to resolve 'format' category 
throws an Exception when that category is not present.
I also found that:
portal.restrictedTraverse*('portal_categories/format') = 'text/html'
I guess that's acquisition working.

Of course, when such category exists everything is all right.

That would probably require a patch on CategoryTool, but I cannot supply 
one right now. If anybody has any idea how to nicely 'resolve' that I'd 
be happy to hear.

Mikolaj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3229 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080602/61831ee9/attachment.bin>


More information about the Erp5-dev mailing list