Skip to content
Snippets Groups Projects
Commit f49b19f9 authored by felmer's avatar felmer
Browse files

SSDM-7430: bug fixed: order of versions were reversed

parent 97b0e9f3
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ package ch.ethz.sis.openbis.generic.server.dss.plugins.sync.harvester.synchroniz
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
......@@ -278,6 +279,7 @@ public class AttachmentsSynchronizer implements ITaskExecutor<List<IncomingEntit
attachment = attachment.getPreviousVersion();
}
}
Collections.reverse(attachmentCreations);
attachmentListUpdate.add(attachmentCreations.toArray(new AttachmentCreation[0]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment