Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117905804
D5439.1775389037.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D5439.1775389037.diff
View Options
diff --git a/lib/ext/Syncroton/Command/FolderSync.php b/lib/ext/Syncroton/Command/FolderSync.php
--- a/lib/ext/Syncroton/Command/FolderSync.php
+++ b/lib/ext/Syncroton/Command/FolderSync.php
@@ -235,6 +235,14 @@
// have we created a folderObject in syncroton_folder before?
if (isset($clientFolders[$serverFolderId])) {
$add = $clientFolders[$serverFolderId];
+ // Update some properties in case they have changed.
+ // I ran into this while changing the parentId,
+ // but the test kept returning the same result (even though I requested a fresh sync with syncKey = 0).
+ // Not sure if there are other scenarios.
+ $serverFolder = $serverFolders[$serverFolderId];
+ $add->displayName = $serverFolder->displayName;
+ $add->parentId = $serverFolder->parentId;
+ $add->type = $serverFolder->type;
} else {
$add = $serverFolders[$serverFolderId];
$add->creationTime = $this->_syncTimeStamp;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 11:37 AM (14 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18823813
Default Alt Text
D5439.1775389037.diff (1 KB)
Attached To
Mode
D5439: Make sure we always get the correct data for a FolderSync.
Attached
Detach File
Event Timeline