SQL error : duplicate entry

Author Message

Jean-Marc Fontaine

Monday 10 March 2008 7:35:43 am

I installed eZ Publish 4 and I created some folders and articles.

When I try save one of the folders after editing it, an error occur :

Error: eZMySQLiDB Mar 10 2008 15:24:29

Query error: Duplicate entry '38-1449fa4b0d185fbb324f27d716f04d18' for key 1. Query: UPDATE ezurlalias_ml SET parent = 38
WHERE parent = 36

The other nodes can be edited.

Could someone give me a clue about this ?

Jean-Marc Fontaine

Wednesday 19 March 2008 6:25:27 am

This is actually a bug so I filled a bug report :

http://issues.ez.no/IssueView.php?Id=12720&activeItem=7

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 19 2025 04:26:19
Script start
Timing: Jan 19 2025 04:26:19
Module start 'layout'
Timing: Jan 19 2025 04:26:19
Module start 'content'
Timing: Jan 19 2025 04:26:20
Module end 'content'
Timing: Jan 19 2025 04:26:20
Script end

Main resources:

Total runtime0.7928 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.2578152.6250
Module start 'layout' 0.00620.0038 741.882839.4453
Module start 'content' 0.01010.7811 781.3281422.9844
Module end 'content' 0.79120.0016 1,204.31258.1641
Script end 0.7928  1,212.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4368160.0002
Check MTime0.00140.1730160.0001
Mysql Total
Database connection0.00090.117610.0009
Mysqli_queries0.752594.9082520.0145
Looping result0.00050.0570500.0000
Template Total0.759595.820.3798
Template load0.00210.261620.0010
Template processing0.757495.537820.3787
Template load and register function0.00010.015510.0001
states
state_id_array0.00090.110110.0009
state_identifier_array0.00100.124520.0005
Override
Cache load0.00160.2073130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.067910.0005
Fetch class attribute name0.00110.135320.0005
XML
Image XML parsing0.00010.015610.0001
class_abstraction
Instantiating content class attribute0.00000.001520.0000
General
dbfile0.00070.0890100.0001
String conversion0.00000.001440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs