Related obects not removed

Author Message

Pascal France

Thursday 27 September 2007 4:42:08 am

Hi,

With 3.9.3, I add 2 related images to an article (with this method: http://ez.no/doc/ez_publish/user_manual/3_9/the_administration_interface/the_object_edit_interface/related_objects).

The first time I add these 2 images, all works fine.
These images were cadre_rose.jpg and cadre_rose_1.jpg
Now, I remove these 2 related images from the article edit interface and then I display

{$publicites.0.children[0].data_map.image.content|attribute(show)}

The result is here:
http://luxpopuli.fr/cfdt/

Why cadre_rose.jpg and cadre_rose_1.jpg are again noticed as related objects ?

Moreover, if I add now 2 new related images (cadre_gris.jpg and cadre_gris_1.jpg), I clear all caches by hand and display:

{$publicites.0.children[0].data_map.image.content|attribute(show)}

then I get exactely the same thing. I can't see cadre_gris.jpg and cadre_gris_1.jpg as related images in the output but, instead, again cadre_rose.jpg and cadre_rose_1.jpg

Pascal

PS: cadre_rose.jpg, cadre_rose_1.jpg, cadre_gris.jpg and cadre_gris_1.jpg are well in Media (tab)->Images

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Thursday 27 September 2007 2:37:27 pm

Well... I don't know what I did but in fact all work fine.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

Main resources:

Total runtime0.6678 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.0057 589.0469152.6250
Module start 'layout' 0.00570.0033 741.671939.4453
Module start 'content' 0.00900.6576 781.1172455.7266
Module end 'content' 0.66660.0012 1,236.84388.1641
Script end 0.6678  1,245.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4746160.0002
Check MTime0.00130.1906160.0001
Mysql Total
Database connection0.00110.165510.0011
Mysqli_queries0.625893.7104520.0120
Looping result0.00040.0667500.0000
Template Total0.637695.520.3188
Template load0.00230.344920.0012
Template processing0.635395.133520.3177
Template load and register function0.00020.035810.0002
states
state_id_array0.00100.144510.0010
state_identifier_array0.00080.117420.0004
Override
Cache load0.00200.2968200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.090010.0006
Fetch class attribute name0.00110.157520.0005
XML
Image XML parsing0.00010.018110.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00060.0913100.0001
String conversion0.00000.001040.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs