cancel
Showing results for 
Search instead for 
Did you mean: 

Searching in the store: amazing behavior

mvlach
Champ in-the-making
Champ in-the-making
I am using Alfresco Nodebrowser to he playing with the store. I need to show all files having aspect forminstnacedata and not renditions. I have this query:


+ASPECT:"{http://www.alfresco.org/model/wcmappmodel/1.0}forminstancedata'-ASPECT:'{http://www.alfresco.org/mod..."

The calls are giving this results:

1. call = 67 rows
then click link "Node browser" and repeat the query
2. call = 95 rows
3. call = 116 rows
4. call = 132 rows
5. call = 144 rows
6. call = 154 rows
7. call = 162 rows
8. call = 169 rows
9. call = 175 rows


no I have no time to trying the next calls. My problem is I can't regenerate rendition because the wizard find for example 67 renditions only. How is this possible ?

Thanks Mila
2 REPLIES 2

janv
Employee
Employee
The query looks OK. Which version & build of Alfresco are you using ? Please describe your test case (+ data) in more detail … for example, what result were you expecting in the first call ? are others using your system ? did you submit one or more form instances & renditions to the staging sandbox prior to running your query ?

Thanks,
Jan

mvlach
Champ in-the-making
Champ in-the-making
I am using alfresco community 2.1.

The only one action is the querying the store. No commiting to the staging, no other action. The expected result isn't available. There are big amount of articles, we have no access to the samba interface and we cannot compute the count of articles.

I think this is happen after bulk import of articles and after programmaticaly setting of the aspect:

avmService.addAspect(path,WCMAppModel.ASPECT_FORM_INSTANCE_DATA);

and property

avmService.setNodeProperty(path, WCMAppModel.PROP_PARENT_FORM_NAME, new PropertyValue(DataTypeDefinition.TEXT, parentFormName));

Thanks, Mila