Open geektortoise opened 4 years ago
The following code
UploadedFile uf = UploadedFile.getByAbstractImage(idAbstractImage) uf.delete()
doesn't work because the model still have the filter "image" and doesn't return the standard URL https://github.com/cytomine/Cytomine-java-client/blob/master/src/main/java/be/cytomine/client/models/UploadedFile.java#L176
Solution : in the UploadedFile.java Remove the image filter at the end of the getByAbstractImage method or add condition in the getJSONResourceURL method to apply the filter only for the fetch case.
Assign this to me. I know how to solve it.
I have solved the issue plz merge the PR#22
The following code
doesn't work because the model still have the filter "image" and doesn't return the standard URL https://github.com/cytomine/Cytomine-java-client/blob/master/src/main/java/be/cytomine/client/models/UploadedFile.java#L176
Solution : in the UploadedFile.java Remove the image filter at the end of the getByAbstractImage method or add condition in the getJSONResourceURL method to apply the filter only for the fetch case.