Trying to perform any action on a comment rendered as a regular page fails with different error messages

XMLWordPrintable

    • Minor

      Issue Summary

      Trying to perform any action on a comment rendered as a regular page fails with different error messages. Currently, it is possible to render comments as "pages" by copying the comment ID and pasting it on the address URL bar. 

      Then, if you try to delete such a "page", or edit such a "page", etc. it fails with different error messages, since it is not a page itself, but rather a comment.

      Steps to Reproduce

      1. Copy the comment ID from any existing comment you have on a page.
      2. Adjust the URL address bar in the following format: https://www.INSTANCE_URL.atlassian.net/wiki/spaces/SPACE_KEY/pages/COMMENT_ID and hit Enter.
      3. Try to perform actions like deleting or editing the "page" that got rendered.

      Expected Results

      It should not be possible to render comments as regular pages, or a disclaimer should be added at the top saying that it is a comment rather than a page, and/or ideally actions that won't be possible to be performed (delete, edit, etc.) should be blocked in such (comment) rendered view.

      Actual Results

      The below exceptions are thrown upon attempting to edit or delete the "page" (comment):

      => Your delete request had a problem

      (in the browser network logs it fails with Cannot invoke "com.atlassian.confluence.pages.AbstractHierarchical.getContentStatus()" because "abstractHierarchical" is null)

      => We can't find the page

      => etc.

      Workaround

      If you want to make any changes (edit, delete, etc.) to the comment itself, go to the page that the comment belongs to and make changes directly in the comment.

              Assignee:
              Unassigned
              Reporter:
              Ivan [Atlassian Support]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: