Components landing page: "contentbylabel" macro not working?

Justin justin.obara at utoronto.ca
Fri Mar 6 17:44:00 UTC 2009


It would seem that the macro switches from ANDing the results to ORing  
them, if one of the labels doesn't exist. Which is the problem that we  
have here. I tested this by using two existing labels, this worked,  
and by using one existing and one made up, this didn't work.

I would suggest making sure the component pages are properly labeled.  
However this could return if one of those labels didn't exist again.  
Maybe this would be a problem solved by upgrading Confluence.

- Justin

On 6-Mar-09, at 12:03 PM, Anastasia Cheetham wrote:

>
> On the wiki Components page (http://wiki.fluidproject.org/display/fluid/Components 
> ), the "Components in Progress" section lists some components that  
> are in progress, but also some pages that are not even component  
> pages, let alone components in progress.
>
> The list is generated by the "contentbylabel" macro:
>
> {contentbylabel:component,in_progress|key=@all|maxResults=10| 
> showSpace=false|showLabels=false|sort=modified|operator=AND}
>
> This is supposed to find pages that are labelled by both 'component'  
> and 'in_progress.'
>
> For one thing, I can't find *any* pages with a label of  
> 'in_progress' - the label just doesn't exist. So I'm confused as to  
> what this macro is doing, and how to get it to do what we want.
>
> Does anyone know enough about this macro to try to fix it?
>
> -- 
> Anastasia Cheetham                   a.cheetham at utoronto.ca
> Software Designer, Fluid Project    http://fluidproject.org
> Adaptive Technology Resource Centre / University of Toronto
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://fluidproject.org/mailman/listinfo/fluid-work