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

Activity Stream shows minor edit even when not asked to under some circumstances

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 3.2 M1
    • Event Stream
    • Unknown
    • N/A
    • N/A

    Description

      To reproduce:

      • Create a new page with the following content:
      {{groovy}}
      if (request.getParameter("confirm") == "1") {
        def mydoc = xwiki.getDocument("Sandbox.TestPage1")
        mydoc.addAttachment("test1.png", "content1".getBytes())
        mydoc.save("test1", true)
      }
      {{/groovy}}
      
      • Add ?confirm=1 to this page URL to execute its code
      • Check the history of Sandbox.TestPage1 and verify that the attachment addition was done as a *minor* edit
      • Go to the activity stream and you'll notice that the change is displayed even though it's a minor edit and thus shouldn't be shown by defaut

      Attachments

        Activity

          People

            surli Simon Urli
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: