This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-b99abade-02d3-4f7c-93c2-f13b37794d99 BLOG-269 Open

Add tests covering how blog, post and category locations are resolved

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-3b54872d-db57-4240-93b5-160281300b99 Vincent Massol created this issue on 13/Oct/26 23:39
 
Summary: Add tests covering how blog, post and category locations are resolved
Issue Type: cid:jira-generated-image-avatar-b99abade-02d3-4f7c-93c2-f13b37794d99 Task
Affects Versions: 9.15.14
Assignee: Unassigned
Components: Development Issues only
Created: 13/Oct/26 23:39
Priority: cid:jira-generated-image-static-major-8ae52104-8531-4e1f-b19c-5b0c1541861c Major
Reporter: Vincent Massol
Description:

Preparation for moving the logic that decides where a blog's posts and categories live out of the wiki pages and into Java code.

That logic is currently spread over many pages (Blog.BlogCode, Blog.BlogParameters, Blog.BlogPostList, Blog.CategoriesCode, Blog.ManageCategories, Blog.Management, Blog.CreatePost, Blog.BlogPostSheet, the categories and related blogs panels, Blog.CategoryRss) and the Java listeners and migration (BlogMoveListener, CategoryRenameListener, CategoryLocationMigration). Most of it is only covered indirectly by functional tests, if at all.

Scope

  • Characterization tests pinning the current behaviour (including known bugs, which get their own issues) for:
    • the default blog with categories in Blog.Categories and in the legacy Blog space,
    • a blog in its own space, a blog with custom posts and categories locations, a blog stored as Space.Blog, a blog whose name contains special characters,
    • moving a blog, moving its categories space alone, creating, renaming and deleting categories, creating posts.
  • Java unit tests for CategoryRenameListener and CategoryLocationMigration, more cases for BlogMoveListener.
  • Page tests for the rules that don't depend on queries; functional (Docker) tests for the ones that do.

No change in behaviour.

 
 

1 update

 
cid:jira-generated-image-avatar-3b54872d-db57-4240-93b5-160281300b99 Changes by Vincent Massol on 13/Oct/26 23:39
 
Assignee: Vincent Massol