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

Blogposts are listed and sorted based on the blog's draft creation time and not publish time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.5.0, 6.6.8
    • Content - Blogs
    • None

    Description

      Summary

      If you publish a blogpost which has been created and kept as a draft for a very long time, it won't appear at the top of the list of "recent blogs". This is because it's "creationDate" is marked as the date/time you first drafted the blog and not the date/time you published the blog.

      This results in the blogpost to be near the bottom of the "Recent blogposts" list if a large number of blogposts have been published since that "creationDate".

      In the content table, you will also see the the "creationDate" column for the blog stores the time you first "created" the draft and not the time you published the blog.

      How to replicate

      1. Make sure Collaborative Editing is enabled.
      2. Create a blog post called "Blog 1".
      3. Add some content.
      4. Close the editor and save it as a draft.
      5. Wait a couple of minutes.
      6. Create another blog post and publish it as "Blog 2".
      7. Create another blog post and publish it as "Blog 3".
      8. Wait a couple of minutes.
      9. Go back to the "Blog 1" draft and publish it.

      Expected results

      On <base-URL>/pages/viewrecentblogposts.action?key=<spacekey>, we should see the blogposts in this order (top to bottom):

      • Blog 1
      • Blog 3
      • Blog 2

      Actual results

      The blogposts are instead listed in this order (top to bottom):

      • Blog 3
      • Blog 2
      • Blog 1

      Note

      The behaviour persists only if Collaborative Editing is enabled. The results underneath "Expected results" occurs when Collaborative Editing is disabled.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              azolkefli Athirah Zolkefli
              Votes:
              12 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: