cancel
Showing results for 
Search instead for 
Did you mean: 

bug with alfresco 2.9B : listing the categories of a file

playboychess
Champ in-the-making
Champ in-the-making
Hello,

the typical command :

var cats = document.properties["cm:categories"];

works fine under version 2.1 of alfresco (it returns the list of the nodes corresponding to the categories of the document) but returns null in alfresco 2.9B.

Has this bug already been discovered or did I make something wrong …

Thanks
2 REPLIES 2

nancyg
Champ in-the-making
Champ in-the-making
You can check the Jira bug tracking system http://issues.alfresco.com/secure/Dashboard.jspa to see if it has been reported.

andy
Champ on-the-rise
Champ on-the-rise
Hi

I don't think this should have changed. However, null, invalid noderefs and invalid categories will be filtered from properties of type d:category. It is possible the categories referenced do not exists or are not of type cm:category.

Andy