?
avatar quayph
quayph
14 Sep 2015

Steps to reproduce the issue

Joomla 3.4.4 with french translation in the administrator interface.
Créate a menu link to an article using administrator/com_menus.

Expected result

Buttons that work ! :-)

Actual result

Buttons in the main toolbar (Save, Save to new, Close etc..) non functional because of a javasript error.

Uncaught SyntaxError: missing ) after argument list in /administrator/index.php?option=com_menus&view=item&layout=edit&id=117 Line 128

This is the line 128 : You can see the un escaped apostrophy in the name attribute of the <iframe> tag. This prematurely closes the string. It concerns the "Select an article" button used to choose which article the menu item points to.

modalBody.prepend('<iframe class="iframe" src="index.php?option=com_content&amp;view=articles&amp;layout=modal&amp;tmpl=component&amp;function=jSelectArticle_jform_request_id&amp;b85b96ca0b5914cb50fc400f9f4aaaef=1" name="Sélectionner ou changer l'article" height="300px" width="800px"></iframe>');

System information (as much as possible)

Version de la base de données 5.5.43
Interclassement de la base de données latin1_swedish_ci
Version de PHP 5.4.43
Serveur web Apache
Serveur web pour interface PHP apache2handler
Version de Joomla Joomla! 3.4.4 Stable [ Ember ] 8-September-2015 21:30 GMT
Version de la plateforme Joomla! Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

Additional comments

I removed the apostrophy from the translation string in /administrator/language/fr-FR/com_content.ini line 24. The buttons work, but this is obvoiusly just a temporary workaround.

avatar quayph quayph - open - 14 Sep 2015
avatar infograf768
infograf768 - comment - 14 Sep 2015

I have already updated the french lang pack by taking off the quote (the day after 3.4.4 release, version 2). Just update the pack.
The original issue has now been solved.
See: #7845
This can be closed.

avatar infograf768 infograf768 - change - 14 Sep 2015
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2015-09-14 10:03:22
Closed_By infograf768
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2015
Status Fixed in Code Base Closed
Closed_By infograf768 joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 14 Sep 2015
avatar infograf768
infograf768 - comment - 14 Sep 2015
avatar joomla-cms-bot joomla-cms-bot - close - 14 Sep 2015
avatar infograf768
infograf768 - comment - 14 Sep 2015

Closing as this is now solved in core (for next release)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7880.

Add a Comment

Login with GitHub to post a comment