2013/11/6 Sergi Almacellas Abellana <[email protected]>

> Hi devs,
>
> I'm developing a Wizard mixin like:
>
> class OpenExecutionMixin(Wizard):
>
>     start = StateTransition()
>
>    def transition_start(self):
>         print 'start %s' % self.__name__
>         return 'end'
>
> class OpenExecution(OpenExecutionMixin):
>       'Open Report Execution'
>       __name__ = 'report.execution.open'
>
>     start = StateTransition()
>
>    def transition_start(self):
>         print 'start %s' % self.__name__
>         return 'end'
>
>  class OpenExecutionButton(OpenExecutionMixin):
>       'Open Report Execution'
>       __name__ = 'report.execution.open.button'
>
>     start = StateTransition()
>
>    def transition_start(self):
>         print 'start %s' % self.__name__
>         return 'end'
>
>
> But whenever I call a one of the wizards the client executes both wizards.
> When i execute the second wizard the output is the following:
>
> start report.execution.open.button
> start.report.execution.open
>
> Why is first wizard called?  It's a bug or I am doing something wrong?
>

It is weird that point between start and report of the second line. Have
you tried to delete the pyc file?


>
> Regards,
>
> --
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk
>



-- 

Jesús Martín

Zikzakmedia SL
Dr. Fleming, 28, baixos
08720 Vilafranca del Penedès
☏ 93 890 21 08

Reply via email to