This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-59c5affe-56ec-4527-a527-dabcf1672795 BLOG-277 Open

Moving the categories of a blog alone doesn't update the blog's categories location

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-37d067d6-1b41-4f54-ad61-e4789f0d9595 Vincent Massol created this issue on 14/Oct/26 12:12
 
Summary: Moving the categories of a blog alone doesn't update the blog's categories location
Issue Type: cid:jira-generated-image-avatar-59c5affe-56ec-4527-a527-dabcf1672795 Bug
Affects Versions: 9.15.14
Assignee: Unassigned
Created: 14/Oct/26 12:12
Priority: cid:jira-generated-image-static-minor-273b1a74-bd7f-4444-8ca3-c6b5a21f46a7 Minor
Reporter: Vincent Massol
Description:

A blog stores the location of its categories as text (categoriesLocation of Blog.BlogClass). BlogMoveListener updates it when the blog page itself is moved (BLOG-263), but not when the categories space is moved on its own: the blog keeps pointing to the old location.

Steps to reproduce

  1. Create a blog MyBlog (its categories are in MyBlog.Categories), with a category
  2. Move MyBlog.Categories.WebHome (with its children) to Other.Categories.WebHome
  3. Go to the blog and create a post, or manage the categories

Expected: the blog's categories are those of Other.Categories
Actual: the blog's categories location is still MyBlog.Categories: its categories are not listed anymore and new categories are created at the old location

Cause

BlogMoveListener.java:94-96 only handles the rename of a page holding a Blog.BlogClass object. The move of a space used as categoriesLocation (or postsLocation) by a blog is not handled.

The current behaviour is pinned by BlogMoveListenerTest#onEventIgnoresTheCategoriesSpaceMovedAlone (BLOG-269).

 
 

1 update

 
cid:jira-generated-image-avatar-37d067d6-1b41-4f54-ad61-e4789f0d9595 Changes by Vincent Massol on 14/Oct/26 12:12
 
Assignee: Vincent Massol