Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10712 (closed)

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

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

Problem is due to the fact that the file.getHash returns null. Such case is not correctly handled.

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

Last edited 6 years ago by jburel (previous) (diff)

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

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.79509 sec.)

We're Hiring!