Re: [werkflow-user] blog example not firing publish/reject process

Jason van Zyl <[email protected]> 04 Dec 2003 12:47:14 -0500
Newsgroups gmane.comp.java.werkflow
Message-ID <[email protected]>
On Thu, 2003-12-04 at 12:18, Mark H. Wilkinson wrote:
> On Thu, 2003-12-04 at 16:47, Jason van Zyl wrote:
> > On Thu, 2003-12-04 at 11:27, Federico Spinazzi wrote:
> > > 
> > > As I've some problems with the blog demo (I'm running it from IntelliJ) 
> > > and seen on the mailing list archives both the old messages and the cvs 
> > > commit.
> > > 
> > > The problem is that the reject and publish processes are not invoked.
> > > 
> > >  From stepping in the debugger it seems to me like the message is asked 
> > > for acceptance but never consumed (??).
> > > 
> > > Anyone has the same problem?
> 
> Yes, I see the same problem. I thought the example had been fixed, but
> it seems not to be working as I'd expect it to.
> 
> > I would look at the ActivityManagerTest:
> > 
> > http://cvs.codehaus.org/viewcvs.cgi/werkflow/werkflow-core/src/java/test/org/codehaus/werkflow/initiator/message/?root=codehaus
> > 
> > If you're embedding werkflow in an application this is most likely the
> > idiom of usage that will be most helpful. This test also works so is a
> > good starting place.
> 
> Hmm; that test is making sure that a message will initiate a process,
> but it doesn't check that a subsequent message will correlate to the
> existing process and wake it up again. I think we need to extend the
> test and see if the there's something here that needs fixing.

Definitely, I just think this test represents the most common use case
as far as usage goes. Even if people don't think so yet :-)

> -Mark.
> 
> _______________________________________________
> werkflow-user mailing list
> [email protected]
> http://lists.codehaus.org/mailman/listinfo/werkflow-user
-- 
jvz.

Jason van Zyl
[email protected]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society