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

Keep mtime on upload #2969

Closed
PVince81 opened this issue Feb 5, 2020 · 1 comment · Fixed by #3377
Closed

Keep mtime on upload #2969

PVince81 opened this issue Feb 5, 2020 · 1 comment · Fixed by #3377
Assignees
Labels
feature:files Type:Bug Something isn't working

Comments

@PVince81
Copy link
Contributor

PVince81 commented Feb 5, 2020

Steps

  1. Pick a file on disk that has an mtime from several days ago
  2. Upload in Phoenix UI
  3. Check the mtime column in file list

Expected result

mtime column shows the date from several days ago.

Actual result

mtime column says that the file was just modified a few minutes ago

Please note that in OC 10 we implemented this preservation already a long time ago.
To make it work, one needs to send this value through an extra upload header: https://github.com/owncloud/core/blob/master/apps/files/js/file-upload.js#L255

Version

v0.3.0

@PVince81 PVince81 added Type:Bug Something isn't working feature:files labels Feb 5, 2020
@Julian1998 Julian1998 self-assigned this Apr 14, 2020
@PVince81 PVince81 mentioned this issue Apr 24, 2020
10 tasks
@PVince81 PVince81 assigned PVince81 and unassigned Julian1998 Apr 24, 2020
@PVince81
Copy link
Contributor Author

PR here: #3377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:files Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants