Re: nasty bug in StatusCondition/getAvailableActions
"Pat Lightbody" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <010e01c31513$f1575420$6901a8c0@moose> |
I'm not sure how it could know what the current step is. This probably could come from when I finally get around to adding that info the WorkflowContext. -Pat ----- Original Message ----- From: "Philipp Hug" <[email protected]> To: "Pat Lightbody" <[email protected]>; <[email protected]> Sent: Wednesday, May 07, 2003 12: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