Re: nasty bug in StatusCondition/getAvailableActions
"Philipp Hug" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <017901c3146d$ff67f660$522210ac@chimera> |
If stepId is not set, it should use the current step, correct? philipp ----- Original Message ----- From: "Pat Lightbody" <[email protected]> To: "Philipp Hug" <[email protected]>; <[email protected]> Sent: Wednesday, May 07, 2003 2:23 AM Subject: Re: [Opensymphony-developers] nasty bug in StatusCondition/getAvailableActions > This isn't a bug... args should be place in the workflow XML file: > > <condition ...> > <arg name="stepId">123</arg> > </condition> > > -Pat > > ----- Original Message ----- > From: "Philipp Hug" <[email protected]> > To: <[email protected]> > Sent: Tuesday, May 06, 2003 5:33 AM > Subject: [Opensymphony-developers] nasty bug in > StatusCondition/getAvailableActions > > > > StatusCondition.passesCondition reads the stepId from the args Map, but > > there's no such value in the argument map. > > int stepId = 0; > > Object stepIdVal = args.get("stepId"); > > > > The args map is copied from the conditionDesc args. > > Can anyone tell me, where stepId should be put into the map? > > > > philipp > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Opensymphony-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Opensymphony-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers > > ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com