Forums / Setup & design / 3.10.0 dynamic content structure menu quote

3.10.0 dynamic content structure menu quote

Author Message

Gwenal Le Bihan

Friday 04 January 2008 8:02:06 am

Hello everyone,

I'm having this problem installing the new dynamic menu in the admin, if I have an object whose title is containig more than one quote ex: "essai d'article d'état civil', the option-menu doesn't show and I have a javascript error

Erreur : missing ) after argument list
Fichier source : http://xxxxxxxxxxxxxxxxxx
Ligne : 1, Colonne : 146
Code source :
classID:'4',name:'Utilisateur'},{classID:'21',name:'Windows media'},{classID:'27',name:'Zone d\'Outils et de Navigation'}] }, 'essai d\'article d'état civil', 7799, -1 ); return false

as you can see, the second quote is not backslashed...

Any clue? Is this a known bug or is there something wrong with my upgrade?

Thx for your help

Gwenal

André R.

Friday 04 January 2008 10:23:10 am

It's probably a bug, and here is a similar one:
http://issues.ez.no/IssueView.php?Id=11744&

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

Pascal France

Friday 04 January 2008 7:54:39 pm

Hi,

This bug hasn't been fixed in eZ Publish 4.0

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Gwenal Le Bihan

Monday 07 January 2008 1:45:21 am

Hello again,

I think it comes from the upgrade (from v3.9.2) because I also have a "3.10.0 born" site and i don't have the problem with same classes and objects...

I've looked in the content_strcture_menu_dynamic.tpl and it looks like as if the javascript replace function was only working fine for the first quote found...

I've picked that one up (and add /'/g instead of /'/)

classes += "{classID:'"
                            + classList[j]
                            + "',name:'"
                            + this.classes[classList[j]].name.replace(/'/g,"\\'")
                            + "'}";

But it doesn't change anything...

G

Pascal France

Tuesday 08 January 2008 9:17:13 am

Hi Gwenal,

No. This bug is not due to upgrade process.
I'm faced with it with a from scratch 4.0.0 and 3.9.10 website or Plain installation (with article or frontpage object class for example - eg: L'été s'ra chaud).

This bug appears only in the Content menu, not in the Sub-items or object preview frame.

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Kristof Coomans

Tuesday 15 January 2008 2:42:58 am

Issue described here will be fixed together with http://issues.ez.no/11744.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

eZ debug

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

Main resources:

Total runtime0.2260 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 588.0625370.2734
Module start 'content' 0.00770.0153 958.33591,005.7031
Module end 'content' 0.02300.2029 1,964.03913,894.2891
Script end 0.2259  5,858.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00441.9397200.0002
Check MTime0.00120.5456200.0001
Mysql Total
Database connection0.00070.305810.0007
Mysqli_queries0.133859.22961410.0009
Looping result0.00110.48041390.0000
Template Total0.202589.610.2025
Template load0.00070.300510.0007
Template processing0.201889.300210.2018
Override
Cache load0.00050.203110.0005
Sytem overhead
Fetch class attribute can translate value0.00180.785110.0018
XML
Image XML parsing0.00020.108810.0002
General
dbfile0.01185.2359200.0006
String conversion0.00000.002630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs