Report 4.3.0: Object relations

Author Message

Thiago Campos Viana

Monday 26 July 2010 5:12:17 am

Hi

I am having some errors when creating a new object of a class with two object relations attribute, one is required and another not. The required one is a drop-down list, the other is browser.

When sending for publish without change the value on the field of the required object relations and the other, I got this notice:

Notice: Undefined variable: classContent in /var/www/ezprojects/teste/kernel/classes/datatypes/ezobjectrelationlist/ezobjectrelationlisttype.php on line 78
Call Stack
# Time Memory Function Location
1 0.0029 285220 {main}( ) ../index.php:0
2 0.1606 5985884 eZModule->run( ) ../index.php:702
3 0.1606 5994980 eZProcess::run( ) ../ezmodule.php:1582
4 0.1606 5994980 eZProcess->runFile( ) ../ezprocess.php:41
5 0.1606 6163796 include( '/var/www/ezprojects/teste/kernel/content/edit.php' ) ../ezprocess.php:66
6 0.2122 8499732 include( '/var/www/ezprojects/teste/kernel/content/attribute_edit.php' ) ../edit.php:814
7 0.2702 11638844 eZContentObject->validateInput( ) ../attribute_edit.php:285
8 0.3097 12734144 eZContentObjectAttribute->validateInput( ) ../ezcontentobject.php:2284
9 0.3098 12734144 eZObjectRelationListType->validateObjectAttributeHTTPInput( ) ../ezcontentobjectattribute.php:563

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Yannick Komotir

Wednesday 03 November 2010 4:17:44 am

Hello,

I have the same problem, by taking a look on http://issues.ez.no/16230 you just see that upgrading on 4.3.1 correct this issue.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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

Main resources:

Total runtime0.5909 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.9141152.6250
Module start 'layout' 0.00760.0037 740.539139.4453
Module start 'content' 0.01130.5784 779.9844536.4453
Module end 'content' 0.58970.0012 1,316.429712.1641
Script end 0.5909  1,328.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.6250160.0002
Check MTime0.00140.2452160.0001
Mysql Total
Database connection0.00070.110810.0007
Mysqli_queries0.544192.0720540.0101
Looping result0.00060.1037520.0000
Template Total0.558594.520.2793
Template load0.00210.357420.0011
Template processing0.556494.161320.2782
Template load and register function0.00010.015010.0001
states
state_id_array0.00090.153310.0009
state_identifier_array0.00070.123220.0004
Override
Cache load0.00170.2957230.0001
Sytem overhead
Fetch class attribute can translate value0.00050.084620.0002
Fetch class attribute name0.00100.162040.0002
XML
Image XML parsing0.00110.189020.0006
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00140.2439220.0001
String conversion0.00000.001940.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs