REST content API doesnt report blogpost comment count correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Medium
    • None
    • Affects Version/s: 3.3.3
    • Environment:

      using

      http://localhost:8080/rest/prototype/1/content/2424834
      

      I get

      <content type="blogpost" expand="space,comments,attachments" id="2424834">
      <link rel="alternate" type="text/html" href="http://localhost:8080/display/~admin/2010/09/23/totally+awesome+blog+post"/>
      <link rel="alternate" type="applicaton/pdf" href="http://localhost:8080/spaces/flyingpdf/pdfpageexport.action?pageId=2424834"/>
      <link rel="self" href="http://localhost:8080/rest/prototype/1/content/2424834"/>
      <title>totally awesome blog post</title>
      <wikiLink>[~admin:/2010/09/23/totally awesome blog post]</wikiLink>
      <lastModifiedDate date="2010-09-23T22:37:03+0100" friendly="Sep 23"/>
      <createdDate date="2010-09-23T22:36:44+0100" friendly="Sep 23"/>
      −
      <space type="space" title="admin" name="admin" key="~admin">
      <link rel="self" href="http://localhost:8080/rest/prototype/1/space/~admin"/>
      </space>
      <comments total="0"/>
      <body>jelly yelly \!</body>
      <attachments size="1"/>
      </content>
      

      Comment total is 0, ought to have been 1. I reindexed to be sure no issue there.

            Assignee:
            Steve Haffenden (Inactive)
            Reporter:
            Deleted Account (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: