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

RemoteAttachment.java does not have a comment setter.

XMLWordPrintable

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

      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

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

                Created:
                Updated: