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

Chart Macro doesn't display the generated image but a URL instead

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 2.4 M1
    • Model
    • Unknown
    • N/A
    • N/A

    Description

      Here's how it works:

      • The XWiki 2.0 chart macro uses javax.servlet.context.tempdir to generate the chart image
      • The ChartingAction used to display the image uses first xwiki.temp.dir and if not defined then javax.servlet.context.tempdir

      Thus if xwiki.temp.dir is set the chart macro generates image will never be found unless xwiki.temp.dir points to the same location as javax.servlet.context.tempdir

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: