Components landing page: "contentbylabel" macro not working?

Gary Thompson gary at unicon.net
Fri Mar 6 17:55:49 UTC 2009


I instituted that macro and the "in_progress" label some time back as a 
means to help organize components and their state.  I am not sure that 
it is still valid given other reorganization and restructuring of the 
wiki, the component pages in particular.

It seems pretty clear that the "in_progress" label is not being used, so 
maybe that macro should just be removed.

- Gary

Justin wrote:
> 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
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://fluidproject.org/mailman/listinfo/fluid-work



More information about the fluid-work mailing list