XWiki Platform
  1. XWiki Platform
  2. XWIKI-6037

XWikiHiberbateStore#searchDocument methods does not work properly with checkright in multiwiki


    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0 M2, 2.7.1
    • Fix Version/s: 3.0 M3, 2.7.2
    • Component/s: Storage
    • Labels:
    • Difficulty:
    • Similar issues:
      XWIKI-9220Rest api multiwiki query does not set database properly
      XWIKI-4118BaseObject.getDocumentSyntaxId does not work in multiwiki
      XWIKI-8813Liquibase does properly determine the schema in multiwiki migration (except MySQL)
      XWIKI-4773JumpToPage feature does not work in path-based multiwiki
      XWIKI-13090XWikiResponse#RemoveCookie() does not remove cookie properly
      XWIKI-1925Basic Auth does not work properly
      XWIKI-8480Ok button does not work properly on Date Picker on IE's
      XWIKI-9622Users are not properly authenticated on subwikis on first page load on domain based multiwiki
      XWIKI-8964HQL and XWQL REST search does not work in multiwiki mode
      XWIKI-4550java.lang.StackOverflowError in XWikiRightServiceImpl#checkRight when group is member of itself


      The methods search for documents names and then resolve the XWikiDocument but before that it check for current user right on each documentt to resolve. The problem is that all this is done in the same hibernate session which makes impossible for checkRight to switch database to check wiki owner, PR right etc...

        Issue Links


          There are no comments yet on this issue.


            • Assignee:
              Thomas Mortagne
              Thomas Mortagne
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: