owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.36k stars 179 forks source link

Creating a new file and edit with the markdown editor fails #453

Closed refs closed 4 years ago

refs commented 4 years ago

Steps to reproduce

this was tested on #409

  1. start ocis (with its default settings, as in: ocis server)
  2. log in
  3. create a folder: folder1
  4. create a file: folder1/example.txt
  5. edit the newly created file
  6. save the edition

Expected

Observed

2020-08-13T12:32:06+02:00 ERR http end="13/Aug/2020:12:32:06 +0200" host=::1 method=PATCH pkg=rhttp proto=HTTP/1.1 service=reva size=438 start="13/Aug/2020:12:32:06 +0200" status=500 time_ns=1108105 traceid=b261351b1f1fdde3f3693c03b273217b uri=/data/5f7875c0-53f7-49d2-9658-86c3af97f1c7 url=/data/5f7875c0-53f7-49d2-9658-86c3af97f1c7
2020-08-13T12:32:06+02:00 ERR http end="13/Aug/2020:12:32:06 +0200" host=::1 method=PATCH pkg=rhttp proto=HTTP/1.1 service=reva size=0 start="13/Aug/2020:12:32:06 +0200" status=500 time_ns=2453326 traceid=b261351b1f1fdde3f3693c03b273217b uri=/data url=/data
[tusd] 2020/08/13 12:32:06 event="ResponseOutgoing" status="204" method="PATCH" path="/75380f0f-032b-48b0-8205-39eaeb5690fd" requestId=""
2020-08-13 12:32:06.710018 I | httputil: ReverseProxy read error during body copy: unexpected EOF
2020-08-13 12:32:06.710029 I | suppressing panic for copyResponse error in test; copy error: unexpected EOF
2020-08-13T12:32:06+02:00 INF http end="13/Aug/2020:12:32:06 +0200" host=::1 method=PATCH pkg=rhttp proto=HTTP/1.1 service=reva size=0 start="13/Aug/2020:12:32:06 +0200" 2020-08-13T12:32:06+02:00 ERR Could not start TUS upload error="unexpected status code: 500" pkg=rhttp service=reva traceid=29dc9d3612db4c4226d217b5dd0ed4f6
2020-08-13T12:32:06+02:00 ERR http end="13/Aug/2020:12:32:06 +0200" host=::1 method=PUT pkg=rhttp proto=HTTP/1.1 service=reva size=0 start="13/Aug/2020:12:32:06 +0200" status=500 time_ns=23609069 traceid=29dc9d3612db4c4226d217b5dd0ed4f6 uri=/remote.php/webdav/folder1/New%20file.txt url=/remote.php/webdav/folder1/New%20file.txt
refs commented 4 years ago

Important to note that subsequent edits to the file, i.e after reloading the browser after creating the file, do work as intended.

refs commented 4 years ago

Update: this does NOT happen on master. So it is a regression.

refs commented 4 years ago

not reproducible anymore since 57f4953 (#409)