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

Version creation causing warning in log when not enough quota #29246

Closed
PVince81 opened this issue Oct 13, 2017 · 3 comments
Closed

Version creation causing warning in log when not enough quota #29246

PVince81 opened this issue Oct 13, 2017 · 3 comments

Comments

@PVince81
Copy link
Contributor

Steps

  1. Set cron to be run on system cron (important to not have versions cleanup happening randomly during page reloads)
  2. Set the user's quota to "3 KB"
  3. Upload a 2.5 KB file "test.txt"
  4. Upload another file with 0 KB but overwrite "test.txt". This will trigger the code to create a version for the old "test.txt", but will not complain about not enough storage since 0 KB would fit.

Expected result

No version created, but also no warning in log.

Actual result

No version created, warning in log:

{"reqId":"pq1ez4JG4447fSp9OIcT","level":3,"time":"2017-10-13T14:10:50+00:00","remoteAddr":"127.0.0.1","user":"user1","app":"PHP","method":"PUT","url":"\/owncloud\/remote.php\/dav\/files\/user1\/bacon.txt","message":"Undefined index: size at \/srv\/www\/htdocs\/owncloud\/lib\/private\/Files\/View.php#1296"}

Version

ownCloud 10.0.3.

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@lock
Copy link

lock bot commented Jul 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants