10-17-2012 05:58 AM
10-17-2012 09:52 AM
10-18-2012 08:49 AM
### Solr/Lucene indexing ###
index.subsystem.name=lucene
#dir.keystore=${dir.root}/keystore
#solr.port.ssl=8443
I did not change any parameter in repository.properties, the repository come from a clean install.luceneQueryPath1 = "PATH:\""+path1+"\"";
var nodoValido = true;
var luceneSearchSudo = function() {
var adminRisultatiNodo = search.luceneSearch(luceneQueryPath1);
if (adminRisultatiNodo.length != 1)
nodoValido = false;
};
and the content of variable luceneQueryPath1 taken from Alfresco debuggerPATH:"/app:company:home/cm:Uirnet/cm:Area_x0020_CRM/cm:_x0030_000/cm:_x0030_01/cm:_x0030_46/cm:CRM_AziendaA_0000001046/cm:Azienda/cm:_x0030_000/cm:_x0031_00"
After performing an upload and then deleting the child node, if I run the above code I get from the debugger:adminRisultatiNodo.length = 0
It seems to happen when uploading and deleting the same file into the same space over and over again. From that point on the parent folder cannot be found.10-18-2012 10:00 AM
10-18-2012 11:34 AM
10-19-2012 05:14 AM
10-19-2012 09:57 AM
Can you add your code so we know what is done exactly.The upload code is quite long, I'm trying to build up a smaller version that performs the sequence of operations in order to reproduce the issue.
Is the parent a normal Folder?The parent folder is a cm:folder
If you repeat the query dose it come back with the answer (to make sure it is not timing out somewhere …on permissions evaluations for example)The query always returns a result without any timeout
How many nodes does your query match and how many of those can the user executing the query see?The query must always find just one node (folder)
Do you run your query to find the folder before you do anything and after each operation?The query is performed before file uploading to assert the presence of the folder
Can you confirim that the last modified timestamp for the parent has not moved on after you have run the test.I'm currently under a milestone release, I will tell you about this as soon as I can
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.