[Zope-CMF] Re: Bad interaction between CMF 1.4 and Zope
2.8 (catalog-getObject-raises)
Chris Withers
chris at simplistix.co.uk
Wed May 25 16:29:33 EDT 2005
Dieter Maurer wrote:
>>Yes, logging should be there. I'll add a LOG at level WARNING somewhere,
>>I'm not sure where (after all it's unrestrictedTraverse that does the
>>catching).
>
> When something in the catalog tells you, there were an object
> and the object is not locatable, then this is an ERROR
> and not a WARNING -- because, you met a data inconsistency.
> Data inconsistencies are serious enough to be classified as "ERROR".
Even so, just logging is crazy, even for a user rather than an
administrator...
It's like saying "okay, here's a safety belt that stops you going
through the windshield, but it's so carcinogenic that you'll die on
cancer some short while later"...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-CMF
mailing list