[Erp5-report] CMFCategory

Romain Courteaud romain at nexedi.com
Thu Aug 18 09:10:33 CEST 2005


On Wed, Aug 17, 2005 at 05:49:01PM +0200, cvsdigest wrote :
> User:   jerome
> Date:   2005-08-17 17:43:34
> Module: CMFCategory
> 
>     fix a bug with non existant categories.
> 
>     M CategoryTool.py
>       http://cvs.erp5.org/CMFCategory/CategoryTool.py.diff?r1=2.51&r2=2.52
> 

I don't know if this way of correcting a bug is the good way.
All you did here is to hide the error to the user. But the non existent
category is still here.

So, you will probably need to hide this bug somewhere else one more time...

>From my point of view, it is better to correct the origin of the bug (a
category can not be deleted if it is related to a object), and let the error
message displayed to the user (as it force us to seriously debug).

Romain



More information about the Erp5-report mailing list