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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.4 M1
    • Fix Version/s: None
    • Component/s: Model
    • Labels:
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: