Skip to content

Sharing group shares stable7 - #11363

Merged
schiessle merged 17 commits into
stable7from
sharing_group_shares_stable7
Oct 1, 2014
Merged

schiessle merged 17 commits into
stable7from
sharing_group_shares_stable7

Conversation

@schiessle

Copy link
Copy Markdown
Contributor

backport of #10107. I just want to give Jenkins the chance to test it before we merge it to stable7.

@schiessle schiessle mentioned this pull request Sep 30, 2014
3 tasks done
@LukasReschke

Copy link
Copy Markdown
Contributor

I think tests will fail due to broken stable7 but here my 👍 just for the sake of completeness ;-)

@schiessle
schiessle force-pushed the sharing_group_shares_stable7 branch from 6b8866b to 9bc8b23 Compare September 30, 2014 10:53
@ghost

ghost commented Sep 30, 2014

Copy link
Copy Markdown

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser/7635/

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.

should really be BrokenPathException

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The advantage of throwing you own exception is that you can define it as you wish. E.g with different error codes to indicate to problem more directly then a generic exception. But I could probably use the class mentioned by you as base class.

@ghost

ghost commented Sep 30, 2014

Copy link
Copy Markdown

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser/7639/

@LukasReschke

Copy link
Copy Markdown
Contributor

@owncloud-bot Retest this please.

@LukasReschke

Copy link
Copy Markdown
Contributor

The usual most likely unrelated fail:

TestSuite 'Test_Encryption_Keymanager': Did not clean up hooks
TestSuite 'Test_Encryption_Keymanager': Did not clean up proxies
......TestSuite 'Test_Encryption_Helper': Did not clean up file cache
Stray datadir entry: user
Stray datadir entry: owncloud_private_key
Stray datadir entry: public-keys
TestSuite 'Test_Encryption_Helper': Did not clean up data dir
PHP Fatal error:  Call to a member function resolvePath() on a non-object in /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/cache/updater.php on line 24
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129
PHP   4. PHPUnit_TextUI_TestRunner->doRun() /usr/share/php/PHPUnit/TextUI/Command.php:176
PHP   5. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/TextUI/TestRunner.php:349
PHP   6. PHPUnit_Framework_TestSuite->run() /usr/share/php/PHPUnit/Framework/TestSuite.php:705
PHP   7. call_user_func() /usr/share/php/PHPUnit/Framework/TestSuite.php:655
PHP   8. Test_Encryption_Webdav::setUpBeforeClass() /usr/share/php/PHPUnit/Framework/TestSuite.php:655
PHP   9. Test_Encryption_Util::loginHelper() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/apps/files_encryption/tests/webdav.php:70
PHP  10. OC_User::createUser() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/apps/files_encryption/tests/util.php:632
PHP  11. OC\User\Manager->createUser() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/user.php:184
PHP  12. OC\Hooks\PublicEmitter->emit() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/user/manager.php:266
PHP  13. OC\Hooks\BasicEmitter->emit() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/hooks/publicemitter.php:18
PHP  14. call_user_func_array() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/hooks/basicemitter.php:85
PHP  15. OC\Server->OC\{closure}() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/hooks/basicemitter.php:85
PHP  16. OC_Hook::emit() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/server.php:109
PHP  17. call_user_func() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/hook.php:78
PHP  18. OCA\Encryption\Hooks::postCreateUser() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/hook.php:78
PHP  19. OCA\Encryption\Util->__construct() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/apps/files_encryption/hooks/hooks.php:155
PHP  20. OC\Files\Filesystem::initMountPoints() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/apps/files_encryption/lib/util.php:84
PHP  21. OC\Files\Filesystem::mountCacheDir() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/filesystem.php:363
PHP  22. OC\Files\View->mkdir() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/filesystem.php:380
PHP  23. OC\Files\View->basicOperation() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/view.php:161
PHP  24. OC\Files\View->runHooks() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/view.php:760
PHP  25. OC\Files\Cache\Updater::writeHook() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/view.php:811
PHP  26. OC\Files\Cache\Updater::writeUpdate() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/cache/updater.php:198
PHP  27. OC\Files\Cache\Updater::resolvePath() /var/lib/jenkins/jobs/pull-request-analyser/workspace@3/lib/private/files/cache/updater.php:37

Bjoern Schiessle added 17 commits October 1, 2014 15:13
… by the

calendar or contacts app. It doesn't make sense to build a exclude list by the
share API, the apps knows best which are valid targets.
…ay all checks are executed, e.g. to check if the share is really visible
…sure that we always use this permission, except if the user permission is '0' because in this case the user unshared the group share from self
@schiessle
schiessle force-pushed the sharing_group_shares_stable7 branch from 9bc8b23 to 9254073 Compare October 1, 2014 13:14
@schiessle

Copy link
Copy Markdown
Contributor Author

I just rebased it to the up-to-date stable7... So now all test should pass

@ghost

ghost commented Oct 1, 2014

Copy link
Copy Markdown

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser/7658/

@schiessle

Copy link
Copy Markdown
Contributor Author

ignore the failed test, that's before I rebased it... There is already another test scheduled.

@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: 28 new issues, 25 updated code elements

@ghost

ghost commented Oct 1, 2014

Copy link
Copy Markdown

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

schiessle added a commit that referenced this pull request Oct 1, 2014
@schiessle
schiessle merged commit d388ef5 into stable7 Oct 1, 2014
@schiessle
schiessle deleted the sharing_group_shares_stable7 branch October 1, 2014 21:35
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants