chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Kumar (JIRA)" <>
Subject [jira] [Created] (CMIS-1058) loadLink method of hardcodes the value of filter to "cmis:objectID"
Date Fri, 30 Mar 2018 08:36:00 GMT
Saurabh Kumar created CMIS-1058:

             Summary: loadLink method of hardcodes the value of
filter to "cmis:objectID"
                 Key: CMIS-1058
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client-bindings
    Affects Versions: OpenCMIS 1.1.0
            Reporter: Saurabh Kumar
         Attachments: InkedSourceCodeScreenshot_LI.jpg

Java File:

package: org.apache.chemistry.opencmis.client.bindings.spi.atompub

Jar name: chemistry-opencmis-client-bindings


loadLink method of the above java class hardcodes the value of filter to "cmis:objectId".
Please refer attached screenshot (InkedSourceCodeScreenshot_LI.jpg). In previous versions
of jar its value was null.

Is it possible that instead of hardcoding its value, can this be taken from userContext as _context.getFilterString()??_

With its value hardcoded, we get a link as the following:


The above url doesn't work for us as it is an invalid URL. The below one works where we replace
the filter with its value from context as below:



Please let me know the thought process behind hard-coding the value of filter as "cmis:objectId".


Call Stack:


This message was sent by Atlassian JIRA

View raw message