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

Key: REPOR-168
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Peterson
Reporter: David Peterson
Votes: 1
Watchers: 1
Operations

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

Improve anti-recursion code to be less agressive

Created: 07/Aug/08 03:17 PM   Updated: 03/Sep/08 12:26 PM
Component/s: None
Affects Version/s: 2.1.1
Fix Version/s: 3.0.0

Time Tracking:
Not Specified


 Description  « Hide
Anti-recursion code for items is a little to aggressive in some cases. Eg:
{report-block}
  {local-reporter:content:children}
  {local-reporter}
  {report-body}
    {report-info:content:title}
    {report-block-1}
      {local-reporter:content:creator}
      {local-reporter}
        {report-body-1}
          {report-info:user:name}
        {report-body-1}
    {report-block-1}
  {report-body}
{report-block}

Possibilities:

  • Figure out how to let reports access the object sub-keys without blocking.
  • Allow, say, 10 levels of recursion before stopping the query to allow some double-dipping.


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson - 03/Sep/08 12:26 PM
Reporting now lets sub-reports render the same object up to 10 times, which should be enough for most cases, and is small enough to prevent any major page load times.