java script error in dynamic content structure tree

Author Message

Felix Gluecklich

Tuesday 23 December 2008 2:33:43 am

Below you can see our content structure tree after an update from ez 3.9.4 to 4.0.1.
We have been used all update scripts with no errors. All nodes should be correct - telled us by the update scripts. In ez 3.9.4 the tree was working. In ez 4.0.1 the tree is only working in part homepage A and homepage C. The dynamic tree is working in media tab.

home
+ hompepage A
(clock symbol) homepage B
- homepage C
+ subtree C
+ subtree C

Line: 394
sign: 9
Error: ‚this.classes[…].identifier’ ist Null or no Object
Code: 0

The tree under homepage B will not expand or collapse. But the other subtrees homepage C or homepage A is working. And also in admin tab media all items works. The clock sympol is always running and no stopping.

But the homepage B is full navigate in the middle of admin page and is full navigate in live site. All documents are available. Only the dynamic tree makes problems in all browsers firefox, ie, opera ... all of them during navigate in content structure tree in admin.

The homepage B is an tree with locate documents. Documents with more the one place we use in our site homepage B. This is an new old feature in ez publish. but it seems to us, that this is not working correctly in admin on ez 4.0.1.

We can not copy the homepage B and make it new in content stucture tree - we have try it: loosing all documents with more then one place and additional the place information in an test database installation of ez. an export of content of ez is also not working. we have tried it. ez export only simple classes or simple documents or simple homepages (it means very simple content structure).

What can i do?

Which tables could be damaged?
What could be not correct (updated) in our content?
In which tables ez stored the dynamic tree content?
Who has developed the dynamic tree?

André R.

Tuesday 23 December 2008 9:57:08 am

homepage B class needs to be member of content or media class group to show up in the tree menu.
This is defined by this code in content_structure_meny_dynamic.tpl:

     $filter_type=cond($root_node.path_array|contains($user_root_node_id), 'include', 'exclude')
     $filter_groups=cond($root_node.path_array|contains($user_root_node_id), array( $user_class_group_id ), array($user_class_group_id, $setup_class_group_id))

So the class you are trying to use is most likely a user or setup class.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 19:33:07
Script start
Timing: Jan 18 2025 19:33:07
Module start 'layout'
Timing: Jan 18 2025 19:33:07
Module start 'content'
Timing: Jan 18 2025 19:33:08
Module end 'content'
Timing: Jan 18 2025 19:33:08
Script end

Main resources:

Total runtime0.9348 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.0061 589.1797152.6406
Module start 'layout' 0.00610.0026 741.820339.4766
Module start 'content' 0.00870.9248 781.2969533.1250
Module end 'content' 0.93340.0013 1,314.421912.4375
Script end 0.9348  1,326.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3588160.0002
Check MTime0.00130.1417160.0001
Mysql Total
Database connection0.00110.116110.0011
Mysqli_queries0.884694.6270540.0164
Looping result0.00060.0589520.0000
Template Total0.900196.320.4500
Template load0.00250.272820.0013
Template processing0.897596.008220.4488
Template load and register function0.00020.017610.0002
states
state_id_array0.00130.139610.0013
state_identifier_array0.00280.300520.0014
Override
Cache load0.00210.2260300.0001
Sytem overhead
Fetch class attribute can translate value0.00050.058520.0003
Fetch class attribute name0.00130.143130.0004
XML
Image XML parsing0.00070.069620.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.0851170.0000
String conversion0.00000.000840.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs