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?

Regards,

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

Reply via email to