ezselection.tpl syntaxe error

Author Message

Pascal France

Sunday 15 November 2009 11:43:35 am

Hi,

It seems there is a syntaxe error in the template:

design/standard/templates/content/datatype/collect/ezselection.tpl

The default line:

<input type=hidden name="{$attribute_base}_ezselect_selected_array_{$attribute.id}" value="">

should be:

<input type="hidden" name="{$attribute_base}_ezselect_selected_array_{$attribute.id}" value="" />

in order to not generate a W3C Validator error message.

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

Bertrand Dunogier

Sunday 15 November 2009 12:53:07 pm

Well, since you obviously have an ez.no account, you're de facto allowed to post bugs to our issue tracker ! Congratulations :-)

Just go to http://issues.ez.no, and post the same thing. You can also write a unified patch, after creating a backup of the original file, or using a SVN client. With GNU diff:

diff -uN design/standard/templates/content/datatype/collect/ezselection.tpl.orig \
design/standard/templates/content/datatype/collect/ezselection.tpl

And attach that patch to the issue. You can even mention in the issue name that there is a patch (like "(with patch)").

Thank you for spotting this.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Pascal France

Sunday 15 November 2009 2:07:43 pm

Hi Bertrand,

Thanks for your explanations.

The bug repport is here:

http://issues.ez.no/IssueView.php?Id=15840&activeItem=1

I've done a diff file. I hope all is Ok.

Cordialement,

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.