chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Harding (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-981) Empty links are cached from search results
Date Tue, 31 May 2016 00:31:12 GMT
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)

Mime
View raw message