Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117780377
D5532.1775246983.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
718 B
Referenced Files
None
Subscribers
None
D5532.1775246983.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 8:09 PM (17 h, 34 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824405
Default Alt Text
D5532.1775246983.diff (718 B)
Attached To
Mode
D5532: Don't abort migration on 403 errors
Attached
Detach File
Event Timeline