You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During PROPFIND of a file using file id via meta API in OCIS, only one <d:getetag> element is present in the whole response even if multiple versions of the file exist.
Also, the number of <d:getlastmodified> element is 1 more than that in a similar scenario in OC10.
Steps to reproduce
Create user Alice
User Alice uploads a file testfile.txt with content "initial content"
User Alice uploads a file testfile.txt with content "version 1"
User Alice uploads a file testfile.txt with content "version 2"
As user Alice, send an HTTP PROPFIND request to the API endpoint remote.php/dav/meta/<fileid>
Expected behavior
The response should be something like that in OC10 in which there are 2 <d:getetag> elements and 2 <d:getlastmodified> element
Actual behavior (In OCIS)
There is only one <d:getetag> element and 3 <d:getlastmodified> element in the response data
During PROPFIND of a file using
file id
via meta API in OCIS, only one<d:getetag>
element is present in the whole response even if multiple versions of the file exist.Also, the number of
<d:getlastmodified>
element is 1 more than that in a similar scenario in OC10.Steps to reproduce
Alice
Alice
uploads a filetestfile.txt
with content "initial content"Alice
uploads a filetestfile.txt
with content "version 1"Alice
uploads a filetestfile.txt
with content "version 2"Alice
, send an HTTP PROPFIND request to the API endpointremote.php/dav/meta/<fileid>
Expected behavior
The response should be something like that in OC10 in which there are 2
<d:getetag>
elements and 2<d:getlastmodified>
elementActual behavior (In OCIS)
There is only one
<d:getetag>
element and 3<d:getlastmodified>
element in the response dataFor example, for the request
The response data is as follows.
In OC10
The response contains 2
<d:getetag>
elements and 2<d:getlastmodified>
element.For example, for the request
The response data is as follows.
The text was updated successfully, but these errors were encountered: