Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OCIS][ocis storage][EOS-storage] setting mtime on files doesn't work #271

Open
dpakach opened this issue Oct 13, 2020 · 2 comments
Open

Comments

@dpakach
Copy link

dpakach commented Oct 13, 2020

Trying to upload files with mtime doesnt works.

Test to demonstrate

  Scenario Outline: Get the mtime of a file shared by public link                                                                  # /home/dipakacharya/www/core/tests/acceptance/features/apiSharePublicLink1/createPublicLinkShare.feature:765
    Given using <dav_version> DAV path                                                                                             # FeatureContext::usingOldOrNewDavPath()
    And user "Alice" has uploaded a file to "file.txt" with mtime "Thu, 08 Aug 2019 04:18:13 GMT" using the WebDAV API             # FeatureContext::userUploadsFileWithContentToWithMtimeUsingTheWebdavApi()
    When user "Alice" creates a public link share using the sharing API with settings                                              # FeatureContext::userCreatesAPublicLinkShareWithSettings()
      | path        | file.txt |
      | permissions | read     |
    Then the HTTP status code should be "200"                                                                                      # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the mtime of file "file.txt" in the last shared public link using the WebDAV API should be "Thu, 08 Aug 2019 04:18:13 GMT" # PublicWebDavContext::theMtimeOfFileInTheLastSharedPublicLinkUsingTheWebdavApiShouldBe()

    Examples:
      | dav_version |
      | old         |
        Failed asserting that 'Tue, 13 Oct 2020 11:55:26 +0000' contains "Thu, 08 Aug 2019 04:18:13".

@dpakach dpakach added the bug Something isn't working label Oct 13, 2020
@individual-it
Copy link
Member

same happens on EOS storage

@individual-it individual-it changed the title [OCIS][ocis storage] setting mtime on files doesn't works. [OCIS][ocis storage][EOS-storage] setting mtime on files doesn't works. Oct 14, 2020
@phil-davis phil-davis changed the title [OCIS][ocis storage][EOS-storage] setting mtime on files doesn't works. [OCIS][ocis storage][EOS-storage] setting mtime on files doesn't work Oct 14, 2020
@exalate-issue-sync exalate-issue-sync bot added p3-medium and removed bug Something isn't working labels Mar 1, 2021
@micbar
Copy link
Contributor

micbar commented Jul 8, 2021

fixed by cs3org/reva#1874

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants