Task #10712 (closed)
Bug: Upload File
| Reported by: | jburel | Owned by: | jburel |
|---|---|---|---|
| Priority: | blocker | Milestone: | 5.0.0-beta1 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | fs@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | FS Demo 3 |
Description
Upload file is currently not working.NPE exception
Change History (5)
comment:1 Changed 6 years ago by jburel
- Status changed from new to accepted
comment:2 Changed 6 years ago by jburel
- Resolution set to fixed
- Status changed from accepted to closed
comment:3 Changed 6 years ago by jburel
We could prevent such case by not allowing the upload of file of size 0.
This should be done in another PR and new ticket should be created
comment:4 Changed 6 years ago by jamoore
J-M: I'm fine with a null size file in general. If you want to prevent or warn on the client, that likely makes sense, but there's no reason the server can't/shouldn't handle that as Mark said.
comment:5 Changed 6 years ago by bpindelski
RFE open for making the ChecksumProvider? behave in a nicer way: https://trac.openmicroscopy.org.uk/ome/ticket/10727
Problem is due to the fact that the file.getHash returns null. Such case is not correctly handled.