Skip to content

Stable8 backport 15489 - #15797

Merged
butonic merged 12 commits into
stable8from
stable8-backport-15489
May 13, 2015
Merged

butonic merged 12 commits into
stable8from
stable8-backport-15489

Conversation

@MorrisJobke

Copy link
Copy Markdown
Contributor

@MorrisJobke MorrisJobke added this to the 8.0.4-next-maintenance milestone Apr 22, 2015
@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Steps to test this: #15332 (comment)

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@MorrisJobke unit tests are broken

Test Result (4 failures / +4)

Test\Preview.testIsMaxSizeWorking
OCA\Files\TagServiceTest.testUpdateFileTags
OCA\Files_Encryption\Tests\Hooks.testSetPassphrase
OCA\Files_Encryption\Tests\Util.testFilterShareReadyUsers

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

@DeepDiver1975 I'm already looking into this :)

@karlitschek

Copy link
Copy Markdown
Contributor

nice 👍

@karlitschek

Copy link
Copy Markdown
Contributor

would be nice to have thus in today

@blizzz

blizzz commented Apr 22, 2015

Copy link
Copy Markdown
Contributor

@MorrisJobke one sharing test is still failing

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

would be nice to have thus in today

I would like to have this tested more intense, because the code between stable7 and stable8 changed a lot and also between stable8 and master where some changes. This is the sum of both PRs. I'm against having this in that short before a release - even if it fixes stuff that happened, but 8.0.4 shouldn't be that far away ;)

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

@schiesbn Can you have a look at the failing unit tests. It seems that it can decrypt the key even if the password has changed recently. Has something changed lately to behave a little weird? I fixed it

@DeepDiver1975

Copy link
Copy Markdown
Contributor

would be nice to have thus in today

@karlitschek where is the urgent need to merge asap coming from? We are still in freeze for 8.0.3.

@karlitschek

Copy link
Copy Markdown
Contributor

@DeepDiver1975 well only the well known customer issues. I would hate to delay this for the next release

@DeepDiver1975

Copy link
Copy Markdown
Contributor

Wow - seriously this change holds 12 commits containing +373 −142 SLOC of change. And unit tests are still failing. No-go from my POV.

well only the well known customer issues.

Individual patches can be supplied via GCX from my understanding

@MorrisJobke
MorrisJobke force-pushed the stable8-backport-15489 branch from 02b053b to a81d882 Compare April 22, 2015 21:39
@MorrisJobke
MorrisJobke force-pushed the stable8-backport-15489 branch from a81d882 to 3b7d285 Compare April 22, 2015 21:40
@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Unit test should now pass. It was a little typo. 🙈

@ghost

ghost commented Apr 22, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/11752/
🚀 Test PASSed.🚀
chuck

@butonic

butonic commented Apr 23, 2015

Copy link
Copy Markdown
Contributor

these changes are in oc7 and master. strictly speaking I have to agree with @DeepDiver1975. But I want this in as well... I promise to spend most of tomorrow testing.

download

@DeepDiver1975

Copy link
Copy Markdown
Contributor

But I want this in as well... I promise to spend most of tomorrow testing.

This will delay 8.0.3 by just another weeks then because QA has to be redone @jnfrmarks

Seriously we have a process and workflow for a reason. There are a hell of people out there waiting for 8.0.3 for more then 3 weeks. We did revert other prs (with far less risk impact) last week.

Just restarting this discussion on every release we do is so Kindergarden.

61545974

@jnfrmarks

Copy link
Copy Markdown

Is this being added to 8.0.3?

@DeepDiver1975 @karlitschek

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Is this being added to 8.0.3?

No.

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

@butonic @blizzz Please review this

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blank line missing

@blizzz

blizzz commented May 11, 2015

Copy link
Copy Markdown
Contributor

The curl test as taken from here sends the error back as HTML instead:

$ curl -X PROPFIND -H "Depth: 1" -u stable8:stable8 http://zara.owncloud.bzoc/stable8/remote.php/webdav/  | xmllint --format -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8364    0  8364    0     0  53550      -:63: 0 --:-parser -:-error : Opening and ending tag mismatch: meta line 15 and head
-                                       </head>
                                               ^
100  8364    0  8364    0     0  52785      0 --:--:-- --:--:-- --:--:-- 52603
-:100: parser error : Opening and ending tag mismatch: meta line 14 and html
</html>
       ^
-:101: parser error : Premature end of data in tag head line 9

^
-:101: parser error : Premature end of data in tag html line 7

^
$ curl -X PROPFIND -H "Depth: 1" -u stable8:stable8 http://zara.owncloud.bzoc/stable8/remote.php/webdav/  
<!DOCTYPE html>
[…]
        <h2><strong>Internal Server Error</strong></h2>
                <p>The server encountered an internal error and was unable to complete your request.</p>
                <p>Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.</p>
                <p>More details can be found in the server log.</p>
        <br />
[…]

LDAP was shut down.

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

The curl test as taken from here sends the error back as HTML instead:

Yes. This is a bug of sabreDav. Which is fixed in 8.1 (not possible to backport a whole new version of sabre dav to stable8)

Essential here is that the response has a 503 HTTP error code and an invalid WebDAV response body (not a valid body with the share removed, because this implies the client to remove the folder locally)

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

curl -v ... is your friend for the HTTP headers ;)

@blizzz

blizzz commented May 11, 2015

Copy link
Copy Markdown
Contributor

curl -v ... is your friend for the HTTP headers ;)

I was too lazy to open up the man page 🙊

@blizzz

blizzz commented May 11, 2015

Copy link
Copy Markdown
Contributor

Essential here is that the response has a 503 HTTP error code and an invalid WebDAV response body (not a valid body with the share removed, because this implies the client to remove the folder locally)

Nah, it's a 500:

< HTTP/1.1 500 Internal Server Error
< Date: Mon, 11 May 2015 11:14:32 GMT
* Server Apache/2.4.10 (Ubuntu) is not blacklisted
< Server: Apache/2.4.10 (Ubuntu)
< Set-Cookie: oc3al6jnhd6p=1kdo5v27s5cfs4p1r4hmfc8m23; path=/stable8; HttpOnly
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Frame-Options: Sameorigin
< Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src *; font-src 'self' data:; media-src *; connect-src *
< X-Robots-Tag: none
< Set-Cookie: oc3al6jnhd6p=e48tdvotcicl5vt9cledsi6s75; path=/stable8; HttpOnly
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=UTF-8

@MorrisJobke

Copy link
Copy Markdown
Contributor Author

Yes. I meant that 🙈

@blizzz

blizzz commented May 11, 2015

Copy link
Copy Markdown
Contributor

Splendid. 👍

butonic added a commit that referenced this pull request May 13, 2015
@butonic
butonic merged commit 6fa4ee8 into stable8 May 13, 2015
@butonic
butonic deleted the stable8-backport-15489 branch May 13, 2015 06:41
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants