Steven Harding created CMIS-981:
-----------------------------------

             Summary: Empty links are cached from search results
                 Key: CMIS-981
                 URL: https://issues.apache.org/jira/browse/CMIS-981
             Project: Chemistry
          Issue Type: Bug
          Components: cmis-phplib
    Affects Versions: PHPCMIS 0.2
         Environment: WAMP / LAMP
            Reporter: Steven Harding


When objects are read in as search results, the set of links are cached. 
However in many cases (ie. the Alfresco public server), search results do NOT 
include links.

This means that if you then attempt to use any functions that used cached links 
(ie. getContentStream, which by the way has incorrect comments), they will 
immediately fail. 

If an object HAS no links, they should not be cached - this way getObject will 
be called when you request it and the correct links will be loaded. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to