using local-reporter to read data from another page.

I am having a problem using the local-reporter macro. I have the following report setup:

{report-table}
{grouping-reporter:data:PTOEmployee|as=PTOEmployee}
{grouping-stats:data:DaysUsed|as=DaysUsed}

{local-reporter:data:PTODays|source=PTO Details}
{grouping-reporter}

{report-column:title=Employee}{report-info:grouped:PTOEmployee}{report-column}
{report-column:title=Days Used}{report-info:grouped:DaysUsed > stats:sum}{report-column}
{report-table}

It should report on data which lives on a child page (called PTO Details) but I am getting the following errors.

Error formatting macro: report-table: java.util.NoSuchElementException
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.

The PTO Details page has the following scaffolding table.

{table-data:PTODays}
|| Employee|| PTO Date || Reason|| Days Used ||
| {list-data:PTOEmployee|required=true}
{user-options:groups=prodsvc_users} {list-data} | {date-data:PTO Date|format=MMM-dd-yyyy|minYear=2009|maxYear=2009}{date-data} | {list-data:Status}{list-option}PTO Day{list-option}
{list-option}Sick Day{list-option}{list-data} | {number-data:DaysUsed}1{number-data}|
{table-data}

I assume this is caused by the local-reporter macro since everything works when both items are on the same page. Do you have any idea what is causing this problem? I am running the most recent Reporting and Scaffolding plugins with Confluence 2.10.

Thanks
 
happy I’m confident
Inappropriate?
3 people have this question

User_default_medium