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

XMLRPC always interacts with database "xwikitest"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 M3
    • 0.9.1252, 1.0 B1, 1.0 B2, 1.1 M2
    • {Unused} Web Services
    • None
    • Seen on Windows XP
    • xmlrpc

    Description

      ConfluenceRpcHandler uses BaseRpcHandler.getXWikiContext() to obtain a context before retrieving or storing a page.

      But BaseRpcHandler.getXWikiContext() initially obtains the context with Utils.prepareContext(), then calls:

      context.setDatabase("xwikitest");
      

      (see BaseRpcHandler.java line 60).

      Consequently, XMLRPC calls affect the xwikitest database, or fail if it does not exist.

      Attachments

        Activity

          People

            slauriere slauriere
            rewbs Robin Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: