[Erp5-dev] bug report on Periodicity.py

Romain Courteaud romain at nexedi.com
Tue Jul 11 10:44:40 CEST 2006


Le Mardi 11 Juillet 2006 10:31, Franck Martin a écrit :
> Hi everybody,

Hi Franck,

>  I'm not sur but I think there is a mistake on "Periodicity" on
> "declareProtected" call:
>
> --- Periodicity.py      2006-06-26 08:16:20.026375568 +0000
> +++ Periodicity.py-patch        2006-07-11 07:45:02.869799408 +0000
> @@ -166,7 +166,7 @@
>       self.setAlarmDate(next_start_date)
>
>
> -    security.declareProtected(Permissions.View, 'getWeekDayList')
> +    security.declareProtected(Permissions.View, 'getAlarmDate')
>     def getAlarmDate(self):
>       """
>       returns something like ['Sunday','Monday',...]

You're totally right.
Thanks for reporting this bug.

Romain



More information about the Erp5-dev mailing list