Fix for when account not found during sync#30367
Conversation
| $this->mapper->update($a); | ||
| } catch(DoesNotExistException $ex) { | ||
| $this->createNewAccount($backendClass, $uid); | ||
| $a = $this->createNewAccount($backendClass, $uid); |
There was a problem hiding this comment.
since this was not detected by the regular CI process - I assume this is missing unit tests
There was a problem hiding this comment.
The regression looks like it happened here:
https://github.com/owncloud/core/pull/29669/files#diff-37958be4e01e8baeb127a59409e1a593L114
There was a problem hiding this comment.
Yep - looking at tests for this
Codecov Report
@@ Coverage Diff @@
## master #30367 +/- ##
============================================
- Coverage 60.84% 60.67% -0.17%
Complexity 18549 18549
============================================
Files 1092 1092
Lines 61280 61280
============================================
- Hits 37286 37182 -104
- Misses 23994 24098 +104
Continue to review full report at Codecov.
|
|
Added a test to run through the sync service at least once. |
|
restarted drone, now passed |
|
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. |
Fixes https://jenkins.owncloud.org/job/upgrade-testing/CONFIG=8.2.11%3Bdaily-master-qa,DB=sqlite/285/console