roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ROL-511) Entries in subcategories are not displayed in parent category
Date Sun, 18 Jul 2010 19:25:53 GMT

     [ https://issues.apache.org/jira/browse/ROL-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Johnson resolved ROL-511.
-------------------------------

    Resolution: Fixed

no longer relevant

> Entries in subcategories are not displayed in parent category
> -------------------------------------------------------------
>
>                 Key: ROL-511
>                 URL: https://issues.apache.org/jira/browse/ROL-511
>             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 http://www.bagginsunderthehill.net/roller/page/Bilbo/20041016
> 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:
>   $entry.category.name
> Also, entries in subcategories are not shown when an ancestor category is chosen, including
if you explicitly choose "/" as the category.  
> Example: http://www.bagginsunderthehill.net/roller/page/Bilbo/Weblog?catname=%2FGames
> Example for explicitly choosing "/": http://www.bagginsunderthehill.net/roller/page/Bilbo/Weblog?catname=%2F
> Subcategories do work but only if you explicitly specify the entire category:
> http://www.bagginsunderthehill.net/roller/page/Bilbo/Weblog?catname=%2FGames%2FReports
> 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 c1.name as name, c2.name as ancestor, a.relation 
>    from weblogcategoryassoc a, weblogcategory c1, weblogcategory c2
>    where a.categoryid = c1.id and a.ancestorid = c2.id;
>    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.


Mime
View raw message