Forums / Developer / java script error in dynamic content structure tree

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

eZ debug

Timing: Jan 18 2025 16:00:30
Script start
Timing: Jan 18 2025 16:00:30
Module start 'content'
Timing: Jan 18 2025 16:00:31
Module end 'content'
Timing: Jan 18 2025 16:00:31
Script end

Main resources:

Total runtime1.1887 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.0054 587.8594180.8125
Module start 'content' 0.00541.0080 768.6719538.2188
Module end 'content' 1.01340.1752 1,306.8906333.0547
Script end 1.1886  1,639.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3381210.0002
Check MTime0.00150.1228210.0001
Mysql Total
Database connection0.00070.059010.0007
Mysqli_queries1.108893.28331910.0058
Looping result0.00210.17331890.0000
Template Total1.146096.420.5730
Template load0.00240.205420.0012
Template processing1.143596.199020.5718
Template load and register function0.00010.012110.0001
states
state_id_array0.00080.068210.0008
state_identifier_array0.00260.216020.0013
Override
Cache load0.00200.1702300.0001
Sytem overhead
Fetch class attribute can translate value0.00150.123930.0005
Fetch class attribute name0.00090.072530.0003
XML
Image XML parsing0.00710.597530.0024
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.01010.8494280.0004
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/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs