[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jfreereport-developers
Subject:    [Jfreereport-developers] [JIRA] Closed: (PRD-2439) TRIM function in
From:       "Pentaho JIRA Notifier (do-not-reply)" <jira () pentaho ! com>
Date:       2010-03-31 7:14:36
Message-ID: 24177674.1270019676686.JavaMail.jira () 157947-web3 ! www ! pentaho ! org
[Download RAW message or body]


     [ http://jira.pentaho.com/browse/PRD-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Priya Muraleedharan closed PRD-2439.
------------------------------------


> TRIM function in OPEN Formula generates error when string is empty
> ------------------------------------------------------------------
> 
> Key: PRD-2439
> URL: http://jira.pentaho.com/browse/PRD-2439
> Project: Pentaho Report Designer
> Issue Type: Bug
> Components: LibFormula/OpenFormula
> Affects Versions: 3.6.0 M1
> Reporter: Hugues Aubuchon
> Assignee: Kurtis Cruzada
> Priority: Medium
> Fix For: 3.6.1 [3.6.0 RC1 (Platform Release)]
> 
> 
> When using this formula for a string field that has a 0 length string, errors are \
> generated in the log =TRIM([fieldname])
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> 	at java.lang.AbstractStringBuilder.substring(Unknown Source)
> 	at java.lang.StringBuffer.substring(Unknown Source)
> 	at org.pentaho.reporting.libraries.formula.function.text.TrimFunction.evaluate(TrimFunction.java:91)
>                 
> ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://jira.pentaho.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jfreereport-developers mailing list
Jfreereport-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jfreereport-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic