[ 
https://issues.apache.org/jira/browse/CONNECTORS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218349#comment-13218349
 ] 

Piergiorgio Lucidi commented on CONNECTORS-288:
-----------------------------------------------

{quote}
For example, for the CMIS path 
'http://localhost:9090/chemistry-opencmis-server-inmemory/atom/138/null' 
(Piergiorgio, what is that 'null' at the end?? Sounds like it may be a bug to 
me.), the output connector turns this into filename 'null'.
{quote}
Karl, you're right. I found a bug in the CMIS Connector, that URL is generated 
by the CMIS Connector, if there are no version label defined for the node, the 
OpenCMIS InMemory Server returns null, that is the last part of the documentURI.

>From the CMIS Connector code:
{code}
String version = document.getVersionLabel();
String endpoint = protocol+"://"+server+":"+port+path;
String documentURI = endpoint+"/"+id+"/"+version;
activities.ingestDocument(id, version, documentURI, rd);
{code}
That's why we have that null in the documentURI, and maybe it could solve the 
problem about the delete feature in the integration test, because there is an 
unique filename "null" that doesn't mean nothing.

So I have to create a new ticket and I have to create a patch for the issue.
                
> An ElasticSearch connector would be helpful
> -------------------------------------------
>
>                 Key: CONNECTORS-288
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-288
>             Project: ManifoldCF
>          Issue Type: New Feature
>    Affects Versions: ManifoldCF 0.5
>            Reporter: Piergiorgio Lucidi
>            Assignee: Piergiorgio Lucidi
>              Labels: elasticsearch
>             Fix For: ManifoldCF next
>
>         Attachments: manifold-elasticsearch-patch, 
> manifold-elasticsearch-patch, manifold-elasticsearch-patch, 
> manifold-elasticsearch-patch, manifold-elasticsearch-patch, 
> manifold-elasticsearch-patch, manifold-elasticsearch-patch, 
> manifold-elasticsearch-velocity-patch, manifoldcf-elasticsearch-project-patct
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> An ElasticSearch connector could be very useful to spread the use of 
> ManifoldCF

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to