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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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