XWiki Platform
  1. XWiki Platform
  2. XWIKI-6037

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

    Details

    • 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:
      None
    • Difficulty:
      Unknown
    • 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-8480Ok button does not work properly on Date Picker on IE's
      XWIKI-1925Basic Auth does not work properly
      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
      XWIKI-8471Unable to index the entire farm with Solr, in a multiwiki environment.

      Description

      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

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: