Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-28034

System Error on pdf page export link from REST API

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      Steps to reproduce:
      1. Request a comment content object through the REST API.
      2. Follow the link to convert to pdf (../spaces/flyingpdf/pdfpageexport.action?pageId=123456)

      Following the convert to pdf link from a comment content object gets an error. The page with the full stack trace is attached.
      The error is caused by:

      java.lang.ClassCastException: com.atlassian.confluence.pages.Comment cannot be cast to com.atlassian.confluence.pages.AbstractPage
      at com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao.getAbstractPageById(HibernateAbstractPageDao.java:17)

              drizzuto David Rizzuto
              jordan.drake Jordan Drake
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: