Forums / Setup & design / Workflow Publish/Unpublish Triggers Don't Work

Workflow Publish/Unpublish Triggers Don't Work

Author Message

Willie Seabrook

Tuesday 26 August 2003 4:18:31 pm

Hi,

I've been trying to get the workflows to work for days now to no avail. I'm using 3.1-1 Revision: 2703.

Firstly, the multiplexer doesn't work - I just get an error - and that means I can't specify when or where workflows get executed, ie its everywhere or nowwhere.

Secondly, only some workflows work in some places. I can get the Hello User and Approve workflow to work off the content "read" trigger but I can't get *any* workflow to go off content "publish" or content "unpublish" trigger.

Whats up with this? I've asked on the forums to no avail! Am I being stupid or is this version of ez publish not really workflow capable? Do I need to upgrade? (I was going to and redo everything but the only version to upgrade to is a beta)

Regards,
Willie

Willie Seabrook

Wednesday 27 August 2003 2:11:23 am

Still having the same problems. The "publish before" and "publish after" triggers simply aren't working - I've checked with debug. I'm desperate here... on a very strict timeline. If anyone is keen to try and work through it with me my email address is [email protected]. Will feed you info as I learn it.

I'm gonna have to figure out the whole system now.
Blah :-(
Any ezpublish guys out there!!!!!????? Please!!!???

Regards,
Willie

Willie Seabrook

Wednesday 27 August 2003 2:13:25 am

I've also tried upgrading to 3.2beta1 with the same result - the multiplexer and the "publish before" and "publish after" triggers all still don't work.

Jo Henrik Endrerud

Wednesday 27 August 2003 4:30:49 am

I am working on this bug right now, but we are having some problems reproducing the bug. I will do my best to fix this before the next release (probably before next beta).

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Jo Henrik Endrerud

Wednesday 27 August 2003 4:41:48 am

Found it :)
The bug is now squashed

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Willie Seabrook

Wednesday 27 August 2003 3:11:54 pm

Hi Jo!

Thanks for the fix - Its been driving me crazy!!! Does it fix both the issues though?

1. The "publish - before" and "publish - after" triggers not working
2. The multiplexer giving an error.

Or were they one and the same thing?

What file was the bug in - so I don't have to do a complete update? I understand I can get that from svn now?

Regards,
Willie

Jo Henrik Endrerud

Thursday 28 August 2003 2:34:21 am

I believe that this solved both problems. If you still have any problems, please e-mail me directly at: jhe at ez.no

The fix is done in the ezmultiplexertype.php located in kernel/classes/workflowtypes/event/ezmultiplexer
You can use this file directly in both version 3.1 and 3.2 beta (if you also download the template you can even use it in 3.0)

svn is unfortunatly down today and I don't think it is comming up again before tomorrow.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Valentin Svelland

Wednesday 17 September 2003 6:45:47 am

Could you post the fixed ezmultiplexertype.php in this thread?
(I'm using 3.1-1 Revision: 2703)

Paul Borgermans

Wednesday 17 September 2003 6:52:54 am

Hello Valentin,

It's in the 3.2 archive, so no real need to post it here.

ciao

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans