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"

Bug #1477 (closed)

Opened 14 years ago

Closed 14 years ago

saveAndReturnIds ordering issues

Reported by: cxallan Owned by: cxallan
Priority: blocker Cc: bwzloranger, jamoore, melissa@…, jburel
Sprint: n.a.
Total Remaining Time: n.a.

Description (last modified by cxallan)

saveAndReturnIds() does not behave like saveAndReturnArray():

Before saveAndReturnIds():

2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image count: 16
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 0 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 1 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 2 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 3 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 4 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 5 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 6 row 0
2009-09-18 11:16:47,232 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 7 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 8 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 9 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 10 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 11 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 12 row 0
2009-09-18 11:16:47,233 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 13 row 0
2009-09-18 11:16:47,234 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 14 row 0
2009-09-18 11:16:47,234 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image null well col 15 row 0

Resulting array of Image IDs:

2009-09-18 11:16:48,572 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 51
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 54
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 65
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 66
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 52
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 59
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 63
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 56
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 57
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 53
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 58
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 62
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 60
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 64
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 61
2009-09-18 11:16:48,573 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) New Image ID: 55

Result after the "to return" query is built in saveToDB():

2009-09-18 11:16:48,729 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 51 well col 0 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 52 well col 4 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 53 well col 9 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 54 well col 1 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 55 well col 15 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 56 well col 7 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 57 well col 8 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 58 well col 10 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 59 well col 5 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 60 well col 12 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 61 well col 14 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 62 well col 11 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 63 well col 6 row 0
2009-09-18 11:16:48,730 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 64 well col 13 row 0
2009-09-18 11:16:48,731 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 65 well col 2 row 0
2009-09-18 11:16:48,731 ERROR [          ome.formats.OMEROMetadataStore] (l.Server-5) Image 66 well col 3 row 0

Change History (4)

comment:1 Changed 14 years ago by cxallan

  • Cc bwzloranger jmoore added
  • Description modified (diff)
  • Owner changed from bwzloranger to cxallan
  • Status changed from new to assigned

comment:2 Changed 14 years ago by cxallan

Until we decide if this is a bug, per say, I've implemented a re-ordering solution server side that should get us out of the hole (r5024).

comment:3 Changed 14 years ago by cxallan

  • Cc melissa@… jburel added

comment:4 Changed 14 years ago by cxallan

  • Resolution set to fixed
  • Status changed from assigned to closed
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.62872 sec.)

We're Hiring!