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

"Mark H. Wilkinson" <[email protected]> Thu, 04 Dec 2003 17:18:32 +0000
Newsgroups gmane.comp.java.werkflow
Message-ID <[email protected]>
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.

-Mark.