Registration process running twice?

Author Message

Gabriel Finkelstein

Friday 09 April 2010 12:35:26 pm

I'm having problems solving this since it has happened only a couple of times and I cannot reproduce it, and it's driving me crazy. I don't know what causes it, but the consequences are the following:

When a user registers, a single object is created but:
- it has 2 main nodes
- it's name is "," (the pattern is "<last_name>,<first_name>" )
- the registrationinfo mail is sent twice (the second time having all object attributes empty, except for an ezidentifier attribute).
- the contentobjectedithandler is triggered twice (the second time also object attributes are empty when fetching the data map)
- the content-publish-after event is triggered twice.

About 600 users have registered without problems, and around 7 had this problem.
I have no errors nor warnings in my logs (except "There are more then one main_node for objectID" ).
I'm running ez 4.1.3 on Debian, with PHP 4.2.6 and MySql 5, with the following extensions: birthday, regexpline and place_users.

Does anyone have any idea about what might be causing this?

Bruce Morrison

Friday 09 April 2010 7:52:41 pm

Hi Gabriel

Is is possible the user is refreshing the page before it completes?

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Gabriel Finkelstein

Monday 12 April 2010 10:47:54 am

It is possible, but I tried to do the same or even submit the form twice, and I can't replicate the problem. Still, I suppose eZ Publish is prepared for those situations.

Lars Eirik R

Tuesday 14 December 2010 12:31:13 am

Did you resolve this problem of yours Gabriel?

We are currently having some of the same issues on a project of ours. It does not happen to all users, but somehow the same thing happens here.

Our submission is triggered by a javascript but that should not matter?.

Any ideas guys on why this happens (apart from the case that someone clicks the refresh button.)

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 18 2025 02:03:11
Script start
Timing: Jan 18 2025 02:03:11
Module start 'layout'
Timing: Jan 18 2025 02:03:11
Module start 'content'
Timing: Jan 18 2025 02:03:11
Module end 'content'
Timing: Jan 18 2025 02:03:11
Script end

Main resources:

Total runtime0.6120 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9141152.6250
Module start 'layout' 0.00660.0038 740.539139.4453
Module start 'content' 0.01050.6000 779.9844595.0781
Module end 'content' 0.61050.0014 1,375.062512.1563
Script end 0.6119  1,387.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.6079160.0002
Check MTime0.00150.2458160.0001
Mysql Total
Database connection0.00080.135810.0008
Mysqli_queries0.551490.1099620.0089
Looping result0.00050.0844600.0000
Template Total0.580694.920.2903
Template load0.00260.421120.0013
Template processing0.578094.446820.2890
Template load and register function0.00010.016210.0001
states
state_id_array0.00110.179610.0011
state_identifier_array0.00070.110620.0003
Override
Cache load0.00210.3478300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.104130.0002
Fetch class attribute name0.00080.135670.0001
XML
Image XML parsing0.00140.236430.0005
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00200.3214280.0001
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs