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

XWikiXmlRpcClient.getComment() looks wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4 M2, 2.3.2
    • 2.3
    • {Unused} APIs
    • None
    • Trivial

    Description

      The code of the method getComment() is probably wrong:

      --8<--
      Object object = invokeRpc("removePage", this.token, commentId);
      return new Comment((Map) object);
      --8<--

      It should probably read

      --8<--
      Object object = invokeRpc("getComment", this.token, commentId);
      return new Comment((Map) object);
      --8<--

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            tv Thomas Vandahl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: