arturobernalg opened a new pull request, #541:
URL: https://github.com/apache/jspwiki/pull/541

   Workflow events travel through a JVM-wide emitter and each manager attached 
itself with WikiEventEmitter.attach, which detaches every other manager of the 
same type. With several engines in one JVM (e.g. wikis deployed with a shared 
classpath) only the last manager created received the events, so the approval 
workflow of one wiki ended up in the decision queue of another and the actual 
one was left without it.
   
   Managers now register without evicting the others and ignore the events that 
are not about their own workflows. A new Workflow is not tracked yet, so a 
constructor taking the Engine is added and its creation event carries it. 
WorkflowBuilder uses it; the existing constructor still notifies every manager.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to