Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-30024

RemoteAttachment.java does not have a comment setter.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • 5.1.4, 5.2
    • marked as critical - please fix at least the documentation - which should NOT mention attachment comment.

    Description

      When using the JSON-RPC API to add and attachment the deserialisation fails when a the attachement json object contains a comment.
      The reason is that RemoteAttachment.java does not have setComment which the Jackson object mapper relies on.

      The worst of it is that documentation marks comment as required.

      Checked versions 4,5

      Attachments

        Activity

          People

            Unassigned Unassigned
            f69cbac16f16 Ulrich Kuhnhardt
            Votes:
            11 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: