roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <>
Subject [jira] Reopened: (ROL-511) Entries in subcategories are not displayed in parent category
Date Sun, 18 Jul 2010 19:31:52 GMT


David Johnson reopened ROL-511:

no longer relevant

> Entries in subcategories are not displayed in parent category
> -------------------------------------------------------------
>                 Key: ROL-511
>                 URL:
>             Project: Roller
>          Issue Type: Bug
>          Components: Weblog Categories
>    Affects Versions: 1.0RC1
>            Reporter: Ava Jarvis
>            Assignee: Roller Unassigned
>         Attachments: hibernate_weblogmanager_patch.diff, weblogmanager_patch_2.0.diff
> I'm not sure how hierarchical categories are supposed to work in Blogger, so I'm assuming
that they should work in a manner similar to Blosxom: entries in subcategories should be shown
when one of their ancestor categories is shown, and parent categories should be shown when
displaying the category of an entry.  
> See
> That category should be "/Games/Reports" but is only "Reports".  The moveablemanilla
theme is being used, so it may be an issue with the Velocity macros being used; here is the
macro that's used to show an entry's category:
>   $
> Also, entries in subcategories are not shown when an ancestor category is chosen, including
if you explicitly choose "/" as the category.  
> Example:
> Example for explicitly choosing "/":
> Subcategories do work but only if you explicitly specify the entire category:
> I'm not sure it's a good idea to make it so that entries in subcategories are hidden
unless the parent category is chosen, since for example you want a "Roller" category to show
all "Roller"-related entries including Bugs, Features, Updates, etc, even if they are in their
own subcategories.
> Here are the categories I have and their relationship to each other, from the database:
> select as name, as ancestor, a.relation 
>    from weblogcategoryassoc a, weblogcategory c1, weblogcategory c2
>    where a.categoryid = and a.ancestorid =;
>    name    | ancestor |  relation   -----------+----------+-------------
>  Games     | root     | PARENT
>  Geek Tech | root     | PARENT
>  General   | root     | PARENT
>  Reports   | Games    | PARENT
>  Reports   | root     | GRANDPARENT
> (5 rows)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message