Change class id object

Author Message

Philippe VINCENT-ROYOL

Wednesday 11 May 2011 3:42:49 am

Hello,

I've 2 class objets with same attibutes. Only identifier is different.

So i've update database with something like :

UPDATE ezcontentobject SET contentclass_id='.$classID.' WHERE id='.$contentObjectID.''

So my question is: do i really need to update ezcontentclass_attribute too with a correct id ?

Thanks

Philippe

Certified Developer (4.1): http://auth.ez.no/certification/verify/272607
Certified Developer (4.4): http://auth.ez.no/certification/verify/377321

G+ : http://plus.tl/dspe
Twitter : http://twitter.com/dspe

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:54:33
Script start
Timing: Jan 30 2025 00:54:33
Module start 'layout'
Timing: Jan 30 2025 00:54:33
Module start 'content'
Timing: Jan 30 2025 00:54:33
Module end 'content'
Timing: Jan 30 2025 00:54:33
Script end

Main resources:

Total runtime0.0318 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.0109 588.1250151.2109
Module start 'layout' 0.01090.0050 739.335936.6406
Module start 'content' 0.01590.0141 775.976690.0313
Module end 'content' 0.03000.0018 866.007829.9766
Script end 0.0318  895.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00278.5446140.0002
Check MTime0.00123.6430140.0001
Mysql Total
Database connection0.003410.598010.0034
Mysqli_queries0.005316.706430.0018
Looping result0.00000.065910.0000
Template Total0.00123.910.0012
Template load0.00092.950810.0009
Template processing0.00030.899010.0003
Override
Cache load0.00061.884810.0006
General
dbfile0.005617.702080.0007
String conversion0.00000.028540.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