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

PDF Export does not contain images when using SSO

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: Old Core - PDF export
    • Labels:
      None
    • Environment:
      Linux (CentOS 5), Sun Java 6 also tried OpenJDK 6
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When using the "com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl" class as "xwiki.authentication.authclass" in "xwiki.cfg" exported PDF's do not contain images.

      The server log contains the following errors:

      2013-05-23 11:33:07,683 [https://wiki.foo.nl/bin/export/Main/WebHome] ERROR FOP                            - Error with opening URL 'https://wiki.foo.nl/bin/download/Main/WebHome/reports_64.png?height=64&width=64': Server returned HTTP response code: 401 for URL: https://wiki.foo.nl/bin/download/Main/WebHome/reports_64.png?height=64&width=64 
      2013-05-23 11:33:07,683 [https://wiki.foo.nl/bin/export/Main/WebHome] ERROR o.a.f.a.FOUserAgent         - Image not found. URI: https://wiki.foo.nl/bin/download/Main/WebHome/reports_64.png?height=64&width=64. (See position 26:1087)

      A bit futher down in the log it shows another error on the same image:

      2013-05-23 11:33:08,197 [https://wiki.foo.nl/bin/export/Main/WebHome] ERROR o.a.f.a.FOUserAgent            - Image not found. URI: https://wiki.foo.nl/bin/download/Main/WebHome/reports_64.png?height=64&width=64. (No context info available) 

      This issue looks slightly similar to XWIKI-6690.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              jsiepkes Jasper Siepkes
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: