Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334406

Summary: Thousand seperator for decimals number in internal hyperlinks
Product: z_Archived Reporter: Ingo <Ingo.leiking>
Component: BIRTAssignee: Jianchao Li <jianchao.li>
Status: RESOLVED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: minor    
Priority: P3 CC: bluesoldier, jianchao.li, rkanna
Version: 2.6.1   
Target Milestone: 3.7.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ingo CLA 2011-01-14 12:57:25 EST
When using a decimal number greater than 1000 for hyperlinking to an internal bookmark a thousand seperator is inserted automatically. When using the same number as a bookmark the complete number is taken as is. So internal hyperlinking simply does not work. For example the number 1798 leads to the following link #1.798.

As suggested here http://www.birt-exchange.org/org/forum/index.php/topic/21334-internal-hyperlink-with-decimals the solution is to convert the number to string for the linked expression. But I think this is an unconvenient behaviour since linking to an external report works fine.
Comment 1 Jianchao Li CLA 2011-05-17 01:46:56 EDT
Bookmark of Hyperlink should not be converted by DataTypeUtil.toString( value ), instead, it should use value.toString() to like bookmark.