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

Opened 12 years ago

Closed 11 years ago

Make "name" fields optional in SPW

Reported by: jamoore Owned by:
Priority: major Milestone: OMERO-Beta4.3
Component: ORM Version: n.a.
Keywords: n.a. Cc: jburel, cxallan, ajpatterson, jrswedlow
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-04-21 (10)

Description (last modified by jburel)

Devteam 2010-07-08:

Might have a database issue on PlateAcqusition that needs a fix, one sec.
chris 10:07 
        <xsd:element name="PlateAcquisition"> <!-- top level definition -->
                        <xsd:attribute name="Name" use="optional" type="xsd:string"/>
 name              | character varying(255)      | not null
Ditto for reagent.
 name              | character varying(255) | not null
Is this one of these "inherits from 'named'" issues?
josh moore 10:09 
chris 10:09 
Same for Plate too.
josh moore 10:10 
so it's actually not that bad.
which name's need to be non-nullable on SPW?
chris 10:10 
                                The Plate ID and Name attributes are required.
josh moore 10:10 
um, right.
chris 10:10 
                        <xsd:attribute name="Name" use="optional" type="xsd:string">
josh moore 10:10 
you guys decide that and let me know. 
chris 10:11 
All the attributes are optional.
josh moore 10:11 
screen as well?
chris 10:11 
In the schema, yes.
josh moore 10:12 
seems a bit counter to PDI but whatever. ok. all "named=true" are being removed from screen.ome.xml, and replaced with <optional name="name" type="string"/>.
chris 10:12 
I'll probably work around that one though by using the ID if the name doesn't exist.
josh moore 10:12 
for mage, i'll just fix it by hand.
chris 10:12 
Having a Screen with no name is going to muck up a ton of stuff.
josh moore 10:13 
i'd bet jean-marie is expecting a plate.name as well. he usually has code in place to do null ? "" : name, but still.
chris 10:13 
I just hope that J-M isn't relying on these other names being there, might be a bad idea to change this now.
During Import I might just insert the object ID if that Name is null.
chris 10:18 
Working around it in code for now Josh.
josh moore 10:28 
ok. so we're not changing the DB. i'll add a ticket for 4.2.1


  • Name should not be optional for Project, Dataset, Image, Screen, Plate. The only exception being PlateAcquisition
  • Model: update model.

Change History (5)

comment:1 Changed 12 years ago by cxallan

(In [7495]) Various fixes for OME-XML files of SPW type:

  • Validate PlateAcquisition? names [temporary solution] (See #2574)
  • Fixed typo Arc --> Reagent when populating Reagent ID
  • Fixed incorrect PlateAcquisition? --> WellSample? target vs. reference order
  • Added reference support for Screen --> Plate and Plate --> Screen

comment:2 Changed 11 years ago by jburel

  • Description modified (diff)
  • Milestone changed from Unscheduled to OMERO-Beta4.3

comment:3 Changed 11 years ago by jmoore

Referencing ticket #2568 has changed sprint.

comment:4 Changed 11 years ago by jmoore

  • Sprint set to 2011-04-21 (10)

comment:5 Changed 11 years ago by jmoore <josh@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [c5bf2dfcf8a44a4c1d1b3fc421eec2c35cbcbdc9/ome.git] on branch develop) Some SPW name fields optional (Fix #2574)

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

We're Hiring!