Bug in shorten template operator?

Author Message

Eirik Alfstad Johansen

Monday 20 October 2003 1:45:34 am

Hi,

I was wondering if I might've discovered a bug in the template operator shorten, or if I'm doing something wrong. The operator seems to append the string trailing sequence, regardless of whether the string exceeds the specified length or not.

Any ideas?

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Tuesday 21 October 2003 5:42:29 am

It seems as though it was a bug, but not to worry. It has been corrected in v. 3.2-2.

- Eirik

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 18 2025 19:05:33
Script start
Timing: Jan 18 2025 19:05:33
Module start 'layout'
Timing: Jan 18 2025 19:05:33
Module start 'content'
Timing: Jan 18 2025 19:05:34
Module end 'content'
Timing: Jan 18 2025 19:05:34
Script end

Main resources:

Total runtime0.8851 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.0391152.6250
Module start 'layout' 0.00690.0039 741.664139.4453
Module start 'content' 0.01080.8725 781.1094486.4063
Module end 'content' 0.88330.0016 1,267.51568.1563
Script end 0.8849  1,275.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3927160.0002
Check MTime0.00160.1792160.0001
Mysql Total
Database connection0.00090.107210.0009
Mysqli_queries0.833894.2106520.0160
Looping result0.00050.0578500.0000
Template Total0.847995.820.4240
Template load0.00210.238520.0011
Template processing0.845895.563820.4229
Template load and register function0.00010.011910.0001
states
state_id_array0.00120.132210.0012
state_identifier_array0.00140.158320.0007
Override
Cache load0.00170.1953150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.079710.0007
Fetch class attribute name0.00260.291130.0009
XML
Image XML parsing0.00060.063310.0006
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00250.2788160.0002
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs