Project

General

Profile

Actions

Bug #15906

open

Issues with collection manifest in Java SDK v2

Added by Krzysztof Majewski about 5 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release:
Release relationship:
Auto
Actions #1

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 #2

Updated by Lucas Di Pentima almost 2 years ago

  • Release set to 60
Actions

Also available in: Atom PDF