Re: nasty bug in StatusCondition/getAvailableActions
"Philipp Hug" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <039101c314b0$e12d5530$522210ac@chimera> |
Ok, I should read the javadoc: "Looks at ALL current steps unless * a stepId is given in the optional argument "stepId". but is this really the desired behavior? Shouldn't it only check the step to which the condition belongs? If it is, what do you use it for? ----- Original Message ----- From: "Philipp Hug" <[email protected]> To: "Pat Lightbody" <[email protected]>; <[email protected]> Sent: Wednesday, May 07, 2003 9:55 AM Subject: Re: [Opensymphony-developers] nasty bug in StatusCondition/getAvailableActions > 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 > > _______________________________________________ > 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