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

Initialize the XWiki Context through the ResourceReferenceHandlerServlet

    XMLWordPrintable

Details

    • Unknown

    Description

      In order to allow EntityResourceReferenceHandlers to work properly (XWIKI-14947), we need to perform the initialization of XWiki.

      As far as I can see, the XWiki (and XContext) initialization is done through https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/XWikiAction.java#L265, so the idea would be to port that into the ResourceReferenceHandlerServlet using new APIs.

      Attachments

        Issue Links

          Activity

            People

              caubin Clément Aubin
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: