server/lib
Vincent Petry 377fdf3860
Skip null groups in group manager (#26871) (#26956)
* Skip null groups in group manager (#26871)

* Skip null groups in group manager

* Also skip null groups in group manager's search function

* Add more group null checks in sharing code

* Add unit tests for null group safety in group manager

* Add unit tests for sharing code null group checks

* Added tests for null groups handling in sharing code

* Ignore moveShare optional repair in mount provider

In some cases, data is inconsistent in the oc_share table due to legacy
data. The mount provider might attempt to make it consistent but if the
target group does not exist any more it cannot work. In such case we
simply ignore the exception as it is not critical. Keeping the
exception would break user accounts as they would be unable to use
their filesystem.

* Adjust null group handing + tests

* Fix new group manager tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-17 00:07:03 -06:00
..
composer Bump autoloader 2017-03-09 14:21:38 +01:00
l10n [tx-robot] updated from transifex 2017-03-15 01:07:49 +00:00
private Skip null groups in group manager (#26871) (#26956) 2017-03-17 00:07:03 -06:00
public Merge pull request #3600 from coletivoEITA/master 2017-03-14 15:14:59 +01:00
autoloader.php Add a magic wrapper from hell to allow phpunit4 to run the code again 2016-11-15 14:49:14 +01:00
base.php Check that set_time_limit is not disabled before calling it 2017-03-11 17:04:21 +01:00