| Summary: | multiple javascript string replace is broken when sorting cross tabs | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | achan1989+1off | ||||||
| Component: | BIRT | Assignee: | Birt-Data-inbox <Birt-Data-inbox> | ||||||
| Status: | NEW --- | QA Contact: | Maggie Shen <lshen> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier | ||||||
| Version: | 3.7.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 201410 [details]
XML source for the report design
|
Created attachment 201409 [details] stack trace when the report is run I am trying to do custom sorting on a cross tab. I want to sort on "test", a string data type. If I make a sort key with data["test"].replace("10","a") then the report runs. If I make a sort key with data["test"].replace("11","b") then the report runs. But when I do data["test"].replace("10","a").replace("11","b") I get a ReportServiceException. I would expect multiple replace() to work just as well as a single replace().