|
From: Mikel L. <lar...@ei...> - 2004-02-25 14:39:28
|
Nikos Papagrigoriou wrote:
> Hi to all of you,
>
> I am using OpenFlow 1.2.0 for the last month (Zope-2.6.1). Great Product.
>
> I noticed a small bug when I create a new transition. The description
> attribute is not saved.
>
> I have to change transition attributes and then the description is saved
> properly.
>
> Does anyone have the same problem?
>
in transition.py we have:
def __init__(self, id, From, To, condition='', description''):
but when a transition is added, zope calls method addTransition in
process.py it's called without description: (Line 138)
def addTransition(self,id,From,To,condition=None,REQUEST=None):
t = transition(id, From, To, condition)
(...)
It seems to be a bug here, it should work adding description:
def addTransition(self,id,From,To,condition=None,description=None
REQUEST=None):
t = transition(id, From, To, condition, description)
(...)
Regards,
Mikel
|