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 willie.seabrook@levity.co.nz. 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

eZ debug

Timing: Jan 18 2025 19:07:16
Script start
Timing: Jan 18 2025 19:07:16
Module start 'content'
Timing: Jan 18 2025 19:07:17
Module end 'content'
Timing: Jan 18 2025 19:07:17
Script end

Main resources:

Total runtime0.7962 sec
Peak memory usage4,096.0000 KB
Database Queries216

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.8594180.8125
Module start 'content' 0.00620.6304 768.6719686.2188
Module end 'content' 0.63660.1596 1,454.8906340.4297
Script end 0.7962  1,795.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5293210.0002
Check MTime0.00150.1904210.0001
Mysql Total
Database connection0.00080.103910.0008
Mysqli_queries0.706188.67672160.0033
Looping result0.00240.29572140.0000
Template Total0.761395.620.3806
Template load0.00240.302520.0012
Template processing0.758895.302220.3794
Template load and register function0.00020.019310.0002
states
state_id_array0.00160.206510.0016
state_identifier_array0.00110.133220.0005
Override
Cache load0.00220.2734480.0000
Sytem overhead
Fetch class attribute can translate value0.00140.181450.0003
Fetch class attribute name0.00090.1191110.0001
XML
Image XML parsing0.00180.225750.0004
class_abstraction
Instantiating content class attribute0.00000.0027110.0000
General
dbfile0.00350.4376340.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs