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

Getting UnsupportedOperationException in an asynchronous or cached panel if not context element has been provided

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.11.1
    • Fix Version/s: 10.11.2, 11.0
    • Component/s: Rendering - Async
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When the panel does not need any context information (use case rare enough to not have been noticed before but still make lot of sense) you don't associate it with any contextual element. But when you do that the async panel rendering crashes.

      The workaround is to set any of the contextual information, like the wiki for example.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: