Page MenuHomePhorge

D5532.1775389781.diff
No OneTemporary

Authored By
Unknown
Size
718 B
Referenced Files
None
Subscribers
None

D5532.1775389781.diff

diff --git a/src/app/DataMigrator/Driver/DAV.php b/src/app/DataMigrator/Driver/DAV.php
--- a/src/app/DataMigrator/Driver/DAV.php
+++ b/src/app/DataMigrator/Driver/DAV.php
@@ -108,7 +108,8 @@
\Log::warning("Failed (code {$e->getCode()}) to save DAV object at {$href}:\n {$e->getMessage()}");
// 400 is returned on errors that only affect individual events,
// so we don't abort the migration because of that.
- if ($e->getCode() != 400) {
+ // 403 is returned if validation checks fail
+ if ($e->getCode() != 400 && $e->getCode() != 403) {
throw new \Exception("Failed to save DAV object at {$href}");
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 5, 11:49 AM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824405
Default Alt Text
D5532.1775389781.diff (718 B)

Event Timeline