Overflow error with report-on macro in Reporting 3.2.0
I've now confirmed that there is an error with the {report-on:injected=true} macro.
The code below was written for Confluence 2.9 and Reporting 3.1.0, and was working perfectly, including the scaffold for label selection. After upgrading to Confluence 3.0.2 and Reporting 3.2.0, the code stopped working with the following error message:
Error formatting macro: report-on: java.lang.StackOverflowError Ingen prosjekter er definert for dette programmet.
The strange thing is that by removing just one of the final two report-columns, either Startdato or Sluttdato, the report starts working as expected again!
This has led me to believe that there is an error in the report-on macro in Reporting 3.2.0 that causes it to overflow on some kinds of content. Please verify!
The code below was written for Confluence 2.9 and Reporting 3.1.0, and was working perfectly, including the scaffold for label selection. After upgrading to Confluence 3.0.2 and Reporting 3.2.0, the code stopped working with the following error message:
Error formatting macro: report-on: java.lang.StackOverflowError Ingen prosjekter er definert for dette programmet.
The strange thing is that by removing just one of the final two report-columns, either Startdato or Sluttdato, the report starts working as expected again!
This has led me to believe that there is an error in the report-on macro in Reporting 3.2.0 that causes it to overflow on some kinds of content. Please verify!
{text-data:Oversiktlabel}program-{text-data}
{report-on:injected=true}
{report-table}
{space-reporter:space=@global}
{text-filter:space:labels|include=.*%data:Oversiktlabel%.*}
{text-filter:space:labels|include=.*hovedprosjekt.*}
{text-sort:space:name}
{space-reporter}
{report-column:title=Prosjekt} {report-info:space:name|link=true} {report-column}
{report-column:title=Sammendrag} {report-info:space:homepage > data:Sammendrag} {report-column}
{report-column:title=Prosjektleder} {report-info:space:homepage > data:Prosjektleder} {report-column}
{report-column:title=Prosjekteier} {report-info:space:homepage > data:Prosjekteier} {report-column}
{report-column:title=Prosjekttype} {report-info:space:homepage > data:Prosjekttype} {report-column}
{report-column:title=Startdato} {report-info:space:homepage > data:Startdato|format=dd-MM-yyyy} {report-column}
{report-column:title=Sluttdato} {report-info:space:homepage > data:Sluttdato|format=dd-MM-yyyy} {report-column}
{report-empty}Ingen prosjekter er definert for dette programmet.{report-empty}
{report-table}
{report-on}
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?After some more testing I've figured out that removing any three lines of report-columns (or report-empty), or just the two longer lines with dates, will ensure the code works again.
Obviously there is a limit on how much unrelated code that can be put inside a {report-on} macro, but only when using Reporting 3.2.0 and/or Confluence 3.0 since it used to work before with the same code.
I’m undecided
-
Inappropriate?Sorry for the delay in getting back to you. I've been buried in work for a different project.
This is rather odd. Have you created an issue in JIRA? I'll schedule it for investigation ASAP.
I’m undecided
-
Inappropriate?No worries!
I've created a Jira-issue here now: http://greenhouse.customware.net/jira...
I’m confident
Loading Profile...



EMPLOYEE