Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002816Piwigotemplatepublic2012.12.26 12:342013.01.30 11:53
Assigned Tomistic100 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version2.4.6 
Target Version2.5.0RC1Fixed in Version2.5.0RC1 
Summary0002816: {strip} smarty tag can introduce bugs in javascript
Descriptionwhen {strip} is used arround bad (but working) javascript, is can introduce bugs

for instance
if (rating.count == 1)
    e.innerHTML = "('%d rate')".replace("%d", rating.count);
    e.innerHTML = "('%d rates')".replace("%d", rating.count);

won't work because "else" and the following "e" are not separated anymore

that's because Smarty completely remove \t, \r, \n and spaces, it should replace them by a single space, avoiding errors
TagsNo tags attached.
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
svn (reporter)
2012.12.26 12:35

[Subversion] r19575 by mistic100 on trunk

-----[Subversion commit log]----------------------------------------------------
feature 2816: {strip} smarty tag can introduce bugs in javascript + fix picture.tpl

- Issue History
Date Modified Username Field Change
2012.12.26 12:34 mistic100 New Issue
2012.12.26 12:34 mistic100 Status new => assigned
2012.12.26 12:34 mistic100 Assigned To => mistic100
2012.12.26 12:34 mistic100 browser => any
2012.12.26 12:34 mistic100 Web server => Apache 1.3.x
2012.12.26 12:35 svn Checkin
2012.12.26 12:35 svn Note Added: 0006785
2013.01.30 11:53 mistic100 Status assigned => closed
2013.01.30 11:53 mistic100 Resolution open => fixed
2013.01.30 11:53 mistic100 Fixed in Version => 2.5.0RC1

Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker