Notifications in approval workflow

Author Message

Mathieu Peltier

Friday 26 November 2010 1:02:42 am

Hi,
I am using ez publish 4.4.0 with ezwebin. Are the notifications on approval workflow supposed to work in 4.4.0? I have created a simple workflow to approve news, but I cannot make the collaboration notifications work.

I have seen this bug:
http://issues.ez.no/IssueView.php?Id=17338&activeItem=2
but the patch (kernel/classes/ezcollaborationitemhandler.php) does not seem to solve the problem.
Thanks,
Mathieu

Nicolas Pastorino

Monday 29 November 2010 1:37:52 am

Hi Mathieu,

Have you tested the same behaviour on the latest version (master codebase in github) ? The applied patch might rely on others, applied after the 4.4 release.

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Mathieu Peltier

Wednesday 01 December 2010 12:59:36 am

Hi,

I confirm that the kernel/classes/ezcollaborationitemhandler.php patch solves the problem. The author and the moderator must subscribe to the "Approbation" collaboration notification. I though I was the case but it seems that I was doing something wrong...

2 additional questions:

- how to let users subscribe to the "Collaboration notifications" in the ezwebin interface? By default, it seems that this is not the case and I have to log in to the admin interface. Another misconfiguration from my part?

- I notice that approval notifications mails are sent in bcc. Is this the expected behaviour?

Thanks,

Mathieu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:47:45
Script start
Timing: Jan 30 2025 00:47:45
Module start 'layout'
Timing: Jan 30 2025 00:47:45
Module start 'content'
Timing: Jan 30 2025 00:47:45
Module end 'content'
Timing: Jan 30 2025 00:47:45
Script end

Main resources:

Total runtime0.0132 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0038 588.2344151.2109
Module start 'layout' 0.00380.0023 739.445336.6563
Module start 'content' 0.00610.0057 776.101690.1719
Module end 'content' 0.01180.0014 866.273433.9766
Script end 0.0132  900.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002014.8018140.0001
Check MTime0.00096.6594140.0001
Mysql Total
Database connection0.00053.695510.0005
Mysqli_queries0.002116.183530.0007
Looping result0.00000.074110.0000
Template Total0.00107.810.0010
Template load0.00075.189210.0007
Template processing0.00032.537710.0003
Override
Cache load0.00053.486010.0005
General
dbfile0.002217.014480.0003
String conversion0.00000.039740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs