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

Error rendering macro 'viewxls' : The viewfile macro is unable to locate the attachment in ActivityStream and History, if the file and macro was inserted on page creation

      After simple and common user's actions:

      1. Create page
      2. In the creation dialog add attachment and insert viewxls macro for it
      3. Save page
      4. Edit page (ex. add a word at the end)

      Activity stream macro will fail to find attached file after editing the page.

      This KB article: Viewfile Macro is Unable to Locate the Attachment is useless here.

      Now, more detailed steps:

      1. Install clean Confluence (see Environment)
      2. Create space TST
      3. Rename page "TST Home" to "Home" (optional step)
      4. Edit page Home - insert Activity Stream macro with default settings
      5. Click Create button
      6. Page name = XLS, add attachment ActivityStreamTest.xls and insert Office Excel macro with this attachment
      7. Click Save button
      8. It is OK here

      9. Edit XLS page - add some text to the end. Save page. Here is the problem:
      10. The page looks good:
      11. BUT, if I go to the page's history and open first version of page, I'll see the same error:

      UPD: Problem in Activity Stream still exists after deleting the XLS-file and reattaching it again.

        1. ActivityStreamTest.xls
          14 kB
        2. JustAfterEdit_HistoryVersion1.png
          JustAfterEdit_HistoryVersion1.png
          6 kB
        3. JustAfterEdit_TheActivityStream.png
          JustAfterEdit_TheActivityStream.png
          11 kB
        4. JustAfterEdit_ThePage.png
          JustAfterEdit_ThePage.png
          3 kB
        5. JustAfterPageCreation.png
          JustAfterPageCreation.png
          16 kB
        6. JustAfterPageCreationThePage.png
          JustAfterPageCreationThePage.png
          2 kB

            [CONFSERVER-39137] Error rendering macro 'viewxls' : The viewfile macro is unable to locate the attachment in ActivityStream and History, if the file and macro was inserted on page creation

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2886677 ] New: CONFSERVER Bug Workflow v4 [ 2980498 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2789175 ] New: JAC Bug Workflow v3 [ 2886677 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Adam Barnes (Inactive) made changes -
            Resolution New: Timed out [ 10 ]
            Status Original: Gathering Impact [ 12072 ] New: Resolved [ 5 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736367 ] New: JAC Bug Workflow v2 [ 2789175 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389082 ] New: JAC Bug Workflow [ 2736367 ]
            Status Original: Open [ 1 ] New: Gathering Impact [ 12072 ]
            Said made changes -
            Labels Original: affects-server editor files moving_from_office_connector New: affects-server editor files moving_from_office_connector tidy
            SET Analytics Bot made changes -
            Support reference count New: 1
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266361 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389082 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231292 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2266361 ]

              Unassigned Unassigned
              1618b20c1fa1 Denis Yaparov
              Affected customers:
              2 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: