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

XWikiXmlRpcClient.getComment() looks wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4 M2, 2.3.2
    • Component/s: {Unused} APIs
    • Labels:
      None
    • Difficulty:
      Trivial
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: