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

Creating content with blueprint content draft behind, causes a ClassCastException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 5.4.1
    • None
    • Downloaded instance, Tomcat 6.0.32, Linux, JDK 1.7.0_51

    Description

      When canceling creation of a page when there is a meeting notes draft present, a ClassCastException is thrown:

      How to reproduce:
      1. Click Create -> Meeting notes
      2. In the opened editor page, click Create (it just redirect to a page creation)
      3. Click cancel.

      Result: a shown error with the stack trace:

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

      Attachments

        Activity

          People

            drizzuto David Rizzuto
            2be1614b66c6 Pance Cavkovski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: