Enhanced object relation extension bug [FIXED]

Author Message

Guillaume Kempfer

Tuesday 02 August 2005 7:44:12 am

Hi,

I have a bug with this extension.

- 1 -

http://www.coquelicot-prod.com/temp/ezenhobjrel/a_class_creation.gif

I create a new class named 'proprietes' with a enhanced object relation datatype named 'localisation', the selection method is a dropdown list and the selection type is a 'folder node'
The creation of a new object use the class 'localisation'

- 2 -

http://www.coquelicot-prod.com/temp/ezenhobjrel/b_first_new_creation.gif

I create a new object with the class 'proprietes'.
In this object named 'propriete1' i create a new localisation named 'jijoute'. Then i confirm the creation of the new 'propriete1'. 'Jijoute' has been recorded in the right folder 'localisation' and the relation is created.

- 3 -

http://www.coquelicot-prod.com/temp/ezenhobjrel/c_second_new_creation.gif

I create an other object with the class 'proprietes' named 'propriete2'. I need to create an new localisation for this object too, so i click on Create new. But here is my problem, i get the fields that i created in 'propriete1' + a new empty field.

Is this a bug or do i something wrong ?

Thanks.

Gabriel Ambuehl

Tuesday 02 August 2005 8:59:54 am

It would appear to be a bug and I think I know why it happens but not entirely how to get rid of it. I'll look into it when I get the time.

Visit http://triligon.org

Guillaume Kempfer

Tuesday 02 August 2005 9:15:33 am

cool !
I hope you will find how to patch it :)

Guillaume Kempfer

Friday 05 August 2005 12:39:33 am

Thanks for your work gabriel !

The updated version of the extension:

http://pubsvn.ez.no/websvn/listing.php?repname=community&path=%2Ftrunk%2Fextension%2Fenhancedobjectrelation%2F&rev=0&sc=1

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

Main resources:

Total runtime0.0228 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.0056 588.0469152.6406
Module start 'layout' 0.00560.0033 740.687539.4766
Module start 'content' 0.00890.0113 780.164189.2578
Module end 'content' 0.02020.0025 869.421934.3047
Script end 0.0228  903.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.0201140.0002
Check MTime0.00114.9541140.0001
Mysql Total
Database connection0.00114.921710.0011
Mysqli_queries0.002611.553030.0009
Looping result0.00000.070010.0000
Template Total0.00198.510.0019
Template load0.00114.672010.0011
Template processing0.00093.785910.0009
Override
Cache load0.00062.770210.0006
General
dbfile0.002711.955380.0003
String conversion0.00000.039740.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