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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.0-rc-1
    • 5.0-milestone-2
    • Chart
    • Unit
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: