This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » bug in user_activation trigger?

bug in user_activation trigger?

bug in user_activation trigger?

Wednesday 29 September 2010 11:12:39 pm - 3 replies

I am working on an extension for V.4.3 that creates a user content folder after the email activation. It works so far but there is some behaviour I cannot understand: The workflow is linked to the after_user_activation trigger. But this workflow is always executed two times. First when a new users registers, second when he activates his account by mail. As I am quite new to ez Publish I don't have a clue where exactly in the source I can find the code that fires the trigger. I was searching the files in kernel/user/ but I didn't have any success.

Monday 18 October 2010 11:22:16 pm

Did you ever get a answer to this question? happy.gif Emoticon

Tuesday 19 October 2010 11:47:47 am

I don't know if this is a bug or not, but I worked around it by checking if the user is activated or not.

By doing this it doesn't do any action before the user has activated the account. happy.gif Emoticon

Tuesday 06 March 2012 11:26:45 am


I'm having same troubles with "user_activation" trigger.

I register users in email validation mode and I have set up a workflow event which calls a webservice on user_activation / before.

I have noticed that user_activation is triggered twice : once in register.php with "is_enabled" param set to false and once more in activate.php with "is_enabled" param set to true. I test the value of "is_enabled" param and I stop my workflow if it's set to false.

At this moment, the problem I have is that user accounts do not need activation anymore even if the activation email has been sent.

Which status should my workflow event send ? Rejected, cancelled or accepted ?


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from