Uploaded image for project: 'Confluence REST API'
  1. Confluence REST API
  2. CRA-1491

minor edit flag for attachment is being ignored

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Steps to replicate :

      1. Install and login to Confluence
      2. Create a page
      3. Add an attachment (eg. README.txt)
      4. Find the attachment id by running the following SQL query :
        SELECT * FROM content WHERE CONTENTTYPE='ATTACHMENT' AND TITLE='README.txt';
      5. With the attachment id run the following curl command below :
        curl -v -S -u admin:admin -X POST -H "X-Atlassian-Token: no-check" -F "file=@READ.txt" -F "minorEdit=true" -F "comment=this is my file" "http://localhost:8090/rest/api/content/65541/child/attachment"

        Please change the credentials, filename and URL accordingly.

      6. After that navigate to dashboard and you will see updates appearing on there as per the screenshot below :

      Current behavior : Confluence post the update to the activity stream on the dashboard.

      Expected behavior : Confluence should not post the update on the activity stream as we have added the minorEdit flag to true

      Confluence version : 6.0.1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dooi Der Lun Ooi
              • Votes:
                11 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: