Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9002

Very slow chart rendering when the source points to the current document

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-2
    • Fix Version/s: 5.0-rc-1
    • Component/s: Chart
    • Labels:
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The reason is that it causes a cyclic loop and only succeed because we have a protection that stops the loop after 1000 cycles...

      To reproduce create a Main.Page page with the following:

      (%id="table1"%)
      |=|=X|=Y|=Z
      |Q1|1.2|3.4|1.3
      |Q2|4.5|3.4|2.3
      |Q3|1.2|24.5|9.0
      |Q4|3.4|1.2|1.2
      
      {{chart type="bar" params="document:Main.Page;table:table1;range:B2-D5;series:columns;" title="Chart Test" width="320" height="240"/}}
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: