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 #10042 (closed)

Opened 7 years ago

Closed 6 years ago

BUG: Progress window of Import Dialog does not show copies of the same file

Reported by: sylittlewood Owned by: jburel
Priority: minor Milestone: OMERO-4.4.9
Component: Insight Version: 4.4.9
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by sylittlewood)

While testing the branch for refactoring the Import Location Dialog it was noted that when adding the same file multiple times to import in to different groups that it was only showing once (as the last entry).

This is an existing bug in 4.4.5.

This is due to the files being keyed in a HashMap? based on the filepath so subsequent entries overwrite the existing.

ImporterUIElement.initialize()
{...
components.put(f.getAbsolutePath(), c);
...
}

This could be resolved by using a client side token (maybe a UUID) that is then mirrored back to the clients for each file / status notification from the server allowing for the clients to match up the async messages.

Change History (2)

comment:1 Changed 7 years ago by sylittlewood

  • Cc jburel added
  • Description modified (diff)
  • Milestone changed from Unscheduled to OMERO-4.5

comment:2 Changed 6 years ago by jburel

  • Milestone changed from OMERO-4.4.x to OMERO-4.4.9
  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 4.4.9

This has been fixed. It is now possible to import the same file into 2 different groups.

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.85180 sec.)

We're Hiring!