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.

eZ debug

Timing: Jan 30 2025 19:52:03
Script start
Timing: Jan 30 2025 19:52:03
Module start 'layout'
Timing: Jan 30 2025 19:52:03
Module start 'content'
Timing: Jan 30 2025 19:52:03
Module end 'content'
Timing: Jan 30 2025 19:52:03
Script end

Main resources:

Total runtime0.0259 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1328151.2109
Module start 'layout' 0.00610.0042 739.3438220.6875
Module start 'content' 0.01030.0137 960.0313997.8203
Module end 'content' 0.02400.0019 1,957.851633.9922
Script end 0.0259  1,991.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003011.5968140.0002
Check MTime0.00134.8721140.0001
Mysql Total
Database connection0.00062.467810.0006
Mysqli_queries0.003814.730330.0013
Looping result0.00000.038710.0000
Template Total0.00155.810.0015
Template load0.00114.314010.0011
Template processing0.00041.437410.0004
Override
Cache load0.00083.206310.0008
General
dbfile0.00197.455980.0002
String conversion0.00000.030440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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