Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
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 #10693 (new)

Opened 11 years ago

Last modified 8 years ago

Refactor OriginalFile for repositories and directories

Reported by: mtbcarroll Owned by: jamoore
Priority: minor Milestone: Metadata
Component: OmeroFs Version: n.a.
Keywords: n.a. Cc: fs@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

At the moment, in the originalfile table in the database if mimetype = 'Repository' then hash is not null and hasher is null and if mimetype = Directory then hash is null and hasher is null.

This is all a bit strange and ugly. Perhaps the data representation could be improved, with the help of a Hibernate discriminator column.

Change History (1)

comment:1 Changed 8 years ago by jamoore

  • Milestone changed from 5.x to Metadata
  • Sprint FS demo 4.x deleted
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.64250 sec.)

We're Hiring!