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
{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
3
people have this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi Maggie,
Sorry for not getting back to you earlier. The error you were getting was a bug in the {grouping-reporter}. That bug has been fixed, but you will require the latest version of the plugin for it to work. It has only been tested in Confluence 3.1, but might work in 3.0 also. It almost definitely won't work with Confluence 2.10, unfortunately.
David
The company says
this answers the question
Loading Profile...



EMPLOYEE