History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: REPOR-144
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Peterson
Reporter: Kevin Menzies
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Reporting Plugin

text-sort on string containing ??? causes net.customware.confluence.reporting.supplier.SupplierValueException

Created: 01/May/08 04:36 AM   Updated: 09/Sep/08 06:34 AM
Component/s: {report-table}
Affects Version/s: 2.1.1
Fix Version/s: 3.0.0

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive reporting plugin 2.1.1 bug.zip (248 kb)

Environment: Confluence 2.8.0 (solaris and windows, java jdk1.5.0_05)


 Description  « Hide
Get error:
Error formatting macro: report-table: net.customware.confluence.reporting.supplier.SupplierValueException: Error while comparing 'data:RMID': Expected symbol:
This is not currently in the context of a report.
This is not currently in the context of a report.
This is not currently in the context of a report.
This is not currently in the context of a report.
This is not currently in the context of a report.

from the code block:

{report-table}
{content-reporter:scope=@self > children|type=page}
{text-sort:data:RMID|order=ascending}
{content-reporter}
{report-column:title=ID}{report-info:data:RMID}{report-column}
{report-column:title=Service Component}{report-info:content:title|link=true}{report-column}
{report-column:title=Definition}{report-info:data:RMDefinition|render=wiki}{report-column}
{report-empty}(This Service Type has no children){report-empty}{report-table}

when child RMID contains the string ???
error occurs with {text-sort:data:RMID|order=ascending}. Removing this code stops the exception occuring.
Attached .zip contains:
1) SRM Service Type Template.TXT : full text of template using macro
2) Tracking+(Service+Type) - with sort.htm : shows results with exception when using above template
3) Tracking+(Service+Type) - remove sort.htm : shows result with {text-sort:data:RMID|order=ascending} removed from template



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson - 27/May/08 03:24 AM
Thanks for the detailed report Kevin. I've assigned it to be addressed in the next version of the plugin.

David Peterson - 03/Sep/08 12:43 PM
Hi Kevin,

I'm unable to replicate the issue in Reporting 3.0.0. Could you update when you can and if the problem is still not resolved, feel free to reopen this issue and we'll get to the bottom of it in a future version.

David


Kevin Menzies - 09/Sep/08 06:34 AM
thanks David. The v3.0.0 update has resolved the problem.