perl-workflow / perl-workflow

Workflow - simple, flexible system to implement workflows/state machines

Home Page:https://jonasbn.github.io/perl-workflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Autorun INITIAL state throws an error

ehuelsmann opened this issue · comments

Issue Template

Description

When creating an autorun="yes" INITIAL state, instantiating that workflow throws a "can't call method name on Workflow::State instance" type of error message. The correct method name would have been state.

Bugs and Issues

Specify what version was used

1.56

Expected behaviour

The workflow is advanced to the next state.

Actual and observed behaviour

An error was thrown.

Steps to reproduce the behaviour

A test, script or one-liner is preferred, but anything that can help is good

Moved to milestone 1.57 from 2.0