Actions
Bug #15906
openIssues with collection manifest in Java SDK v2
Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Story points:
-
Release:
Release relationship:
Auto
Updated by Krzysztof Majewski about 5 years ago
I found following issues with collection manifest in Java SDK v2 in ManifestDecoder class:
1. In case of collections ardev-4zz18-70hlj74j6s5bao6, ardev-4zz18-de5uxhk8l1djn03 and few others the manifest starts with "." not with ". " as expected in code. This is because the collection contains folders in it.
if (!manifestStreams.get(0).startsWith(". ")) {
throw new ArvadosClientException("Invalid first path component (expecting \".\")");
}
2. In case of collection ardev-4zz18-6rcoxf38m5odyff we have empty manifest string wchich is also not expected by SDK:
if (manifestText == null || manifestText.isEmpty()) {
throw new ArvadosClientException("Manifest text cannot be empty.");
}
Actions