You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2012/10/12 18:59:03 UTC

[jira] [Updated] (ROL-1353) #showWeblogCategoryLinksList($rootCategory true true) displays value "categoryObject.name"

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

Glen Mazza updated ROL-1353:
----------------------------

    Attachment: ROL1353a.patch

Patch for ROL 1353.  To replicate this bug & test the fix, it's easiest to create a subcategory & a subcategory of that subcategory within a blog, and add the following to the sidebar template:

    <h2>Weblog TEST TT</h2>
    <div class="sidebar">
    #showWeblogCategoryLinksList($rootCategory true true)
    </div>

    <h2>Weblog TEST TF</h2>
    <div class="sidebar">
    #showWeblogCategoryLinksList($rootCategory true false)
    </div>

    <h2>Weblog TEST FT</h2>
    <div class="sidebar">
    #showWeblogCategoryLinksList($rootCategory false true)
    </div>

    <h2>Weblog TEST FF</h2>
    <div class="sidebar">
    #showWeblogCategoryLinksList($rootCategory false false)
    </div>

Then just select the various category items from the top-level of the blog (or directly from these generated category lists.)
                
> #showWeblogCategoryLinksList($rootCategory true true) displays value "categoryObject.name"
> ------------------------------------------------------------------------------------------
>
>                 Key: ROL-1353
>                 URL: https://issues.apache.org/jira/browse/ROL-1353
>             Project: Roller
>          Issue Type: Bug
>          Components: Weblog Categories
>    Affects Versions: 3.0
>         Environment: Roller Weblogger 3.0-incubating (20061103094907:dave)
>            Reporter: Robert Eister
>            Assignee: Roller Unassigned
>         Attachments: ROL1353a.patch
>
>
> When #showWeblogCategoryLinksList($rootCategory true true) is set, it displays value "categoryObject.name" when that category is selected.
> To reproduce:
> - Add a child category
> - Go to blog
> - Select any single-level category or a child category
> - Display of category name will now be replaced with "categoryObject.name"
> However if a parent category name is selected, it's name still displays properly.  This seems to be the only instance that works.
> All permutations of #showWeblogCategoryLinksList($rootCategory <true/false> <true/false>) except #showWeblogCategoryLinksList($rootCategory false false) behave this way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira