This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-d809eb3f-db39-46a2-8a59-e9466763ef60 BLOG-283 Open

New blogs miss the default categories whose legacy page is gone from the Blog space

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5b73a1f2-0bc6-4735-93ad-4276acd2cfb5 Vincent Massol created this issue on 14/Oct/26 14:07
 
Summary: New blogs miss the default categories whose legacy page is gone from the Blog space
Issue Type: cid:jira-generated-image-avatar-d809eb3f-db39-46a2-8a59-e9466763ef60 Bug
Affects Versions: 9.15.14
Assignee: Unassigned
Created: 14/Oct/26 14:07
Priority: cid:jira-generated-image-static-major-65b10e8a-7656-4c8f-aeae-051d2a013a2f Major
Reporter: Vincent Massol
Description:

When a blog is created from Blog.Management with "Create default categories" checked, its default categories (News, Other, Personal) are copies of the legacy category pages of the Blog space (Blog.News, Blog.Other, Blog.Personal) instead of the categories of the default blog, which live in Blog.Categories since 9.15.

Once a legacy page is gone (the categories migration moves them onto Blog.Categories.*, see BLOG-275, and BLOG-280 plans to stop shipping them), the corresponding default category is not created.

Steps to reproduce

  1. Delete Blog.Other (or migrate the blog categories).
  2. Create a new blog from Blog.Management with "Create default categories" checked.
  3. Manage the categories of the new blog.

Expected

The new blog has the categories News, Other and Personal.

Actual

It has only News and Personal. An empty page named Other (without category object) is created in its categories space instead.

Cause

Management.xml:114 copies "Blog.${categoryName}"; when the copy fails, lines 115-117 still save an empty page with the category name.

Pinned by the functional test BlogManagementIT#createBlogWithADotInItsNameAndItsCategoriesAtTheTopLevel (BLOG-269).

 
 

1 update

 
cid:jira-generated-image-avatar-5b73a1f2-0bc6-4735-93ad-4276acd2cfb5 Changes by Vincent Massol on 14/Oct/26 14:07
 
Assignee: Vincent Massol