When copy object value of identifier attribute not refreshed

Author Message

Ivo Lukac

Thursday 09 October 2008 8:29:56 pm

Does someone have solution to update the identifier attibute with new value after object is copied?

Thanks

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Ɓukasz Serwatka

Friday 10 October 2008 2:35:56 am

Hi,

Copy operation invokes a publish operation, it should be possible to create a workflow event and hook it to after-publish trigger. Inside that workflow event you can do what you want to correct it.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ivo Lukac

Saturday 11 October 2008 12:14:49 am

Yes, I know of this, just hoped that someone has already implemented such functionality :)

Thanks

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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

Main resources:

Total runtime0.7081 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.4141152.6563
Module start 'layout' 0.00510.0040 742.070339.5078
Module start 'content' 0.00910.6976 781.5781543.8516
Module end 'content' 0.70670.0014 1,325.429712.0938
Script end 0.7081  1,337.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4567160.0002
Check MTime0.00130.1823160.0001
Mysql Total
Database connection0.00080.108410.0008
Mysqli_queries0.658292.9487570.0115
Looping result0.00060.0819550.0000
Template Total0.678095.720.3390
Template load0.00210.292520.0010
Template processing0.675995.448720.3379
Template load and register function0.00010.014810.0001
states
state_id_array0.00090.129610.0009
state_identifier_array0.00070.094520.0003
Override
Cache load0.00170.2427140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.096220.0003
Fetch class attribute name0.00100.140350.0002
XML
Image XML parsing0.00100.147320.0005
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00090.1239250.0000
String conversion0.00000.001340.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs