Forums / Developer / Report 4.3.0: Object relations

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

eZ debug

Timing: Jan 18 2025 00:05:35
Script start
Timing: Jan 18 2025 00:05:35
Module start 'content'
Timing: Jan 18 2025 00:05:35
Module end 'content'
Timing: Jan 18 2025 00:05:36
Script end

Main resources:

Total runtime1.0336 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.1563180.8359
Module start 'content' 0.00750.8773 769.9922539.5938
Module end 'content' 0.88480.1488 1,309.5859332.7500
Script end 1.0336  1,642.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3662210.0002
Check MTime0.00130.1301210.0001
Mysql Total
Database connection0.00130.126910.0013
Mysqli_queries0.960892.95161910.0050
Looping result0.00200.19101890.0000
Template Total1.002297.020.5011
Template load0.00190.180120.0009
Template processing1.000396.773220.5001
Template load and register function0.00010.014210.0001
states
state_id_array0.00110.109610.0011
state_identifier_array0.00170.162020.0008
Override
Cache load0.00160.1505230.0001
Sytem overhead
Fetch class attribute can translate value0.00130.129930.0004
Fetch class attribute name0.00130.128640.0003
XML
Image XML parsing0.00120.111730.0004
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00270.2618330.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs