This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-dfc4d70c-ae51-4a0f-9835-4f2714a69590 BLOG-279 Open

The "Posted in" blog link is missing for the posts of a blog whose page is not the WebHome of its space

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ccf25dc8-f389-4552-90e3-cd78ba901cd2 Vincent Massol created this issue on 14/Oct/26 12:21
 
Summary: The "Posted in" blog link is missing for the posts of a blog whose page is not the WebHome of its space
Issue Type: cid:jira-generated-image-avatar-dfc4d70c-ae51-4a0f-9835-4f2714a69590 Bug
Affects Versions: 9.15.14
Assignee: Unassigned
Created: 14/Oct/26 12:21
Priority: cid:jira-generated-image-static-major-a32647d7-cc17-4cfd-b0a3-fcb7a504d764 Major
Reporter: Vincent Massol
Description:

When a list of blog posts is displayed outside of the blog of a post (e.g. on a category page or in the aggregated list of the default blog), the footer of each post shows "Posted in <blog>" with a link to its blog. This line is missing for the posts of a blog whose blog page is not the WebHome of its space (an "in-space" blog, i.e. a Space.Blog page holding the Blog.BlogClass object, which #getBlogDocument supports).

Steps to reproduce

  1. Create a page MySpace.Blog with a Blog.BlogClass object, leaving its posts and categories locations empty.
  2. Create a blog post MySpace.Post1 and assign it to the category Blog.Categories.News.
  3. View the category page Blog.Categories.News.

Expected: the footer of the post says "Posted in" with a link to MySpace.Blog.
Actual: there's no "Posted in" line (it is displayed for the posts of a whole-space blog such as OtherBlog.WebHome).

Cause

#displayEntryBlogLocation (Blog.BlogCode, BlogCode.xml:848-862) doesn't use the blog document: it computes the posts location of the post's blog (#getBlogPostsLocation) and links to <postsLocation>.WebHome, displaying the line only if that page holds a Blog.BlogClass object. For an in-space blog the posts location is MySpace and MySpace.WebHome is not a blog, so nothing is displayed. The same happens for a blog whose posts location is outside of the blog space.

Found while writing the characterization tests of BLOG-269 (BlogLocationPageTest#displayEntryBlogLocationDisplaysNothingForAnInSpaceBlog pins the current behaviour).

 
 

1 update

 
cid:jira-generated-image-avatar-ccf25dc8-f389-4552-90e3-cd78ba901cd2 Changes by Vincent Massol on 14/Oct/26 12:21
 
Assignee: Vincent Massol