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

WYSIWYG office import fail in virtual mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2, 2.1 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Environment:
      mysql, multiwiki
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      I get

      Error number 3202 in 3: Exception while reading document Test.oo Wrapped Exception: Error number 3301 in 3: Exception while switching to database null Wrapped Exception: Unknown database 'null'
      

      when i try to import an office document in WYSIWYG.

      "Exception while switching to database null Wrapped Exception: Unknown database 'null'

      This error look like a XWikiContext not properly initialized which contains a null database.

      Another issue is that i don't see anything in the log, it would be better to put something in the log also for such an error i think.

        Attachments

          Activity

            People

            Assignee:
            lucaa Anca Luca
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: