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 #9971 (accepted)

Opened 11 years ago

Last modified 11 years ago

Bug: OMERO.tables string columns are silently truncated — at Version 4

Reported by: spli Owned by: spli
Priority: major Milestone: OMERO-4.5
Component: API Version: n.a.
Keywords: n.a. Cc: analysis@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.5d
Sprint: 2012-12-18 (3)

Description (last modified by spli)

String columns in OMERO.Tables have a width that is defined when the table is initialised. If a string longer than than this width is inserted it is silently truncated.

Also, the column width defaults to 1 if nothing/0 is specified at initialisation.

Fixes to either of these could be considered (undocumented) API changes. The first should be uncontroversial, the latter I consider a bug too: I think the main reason a user would omit the width is if they thought StringColumns? could hold strings of any length, whereas the current implementation creates a column of width 1 and silently truncates added data. It's unclear whether #1716 was intended to work around only uninitialised columns, or to deliberately default to size 1.

Change History (4)

comment:1 Changed 11 years ago by spli

  • Component changed from General to API
  • Milestone set to Unscheduled
  • Summary changed from OMERO.tables string columns are silently truncated to Bug: OMERO.tables string columns are silently truncated
  • Type changed from Bug to Task

comment:2 Changed 11 years ago by spli

  • Cc analysis@… added

comment:3 Changed 11 years ago by spli

  • Milestone changed from Unscheduled to OMERO-4.5
  • Remaining Time set to 0.5
  • Sprint set to 2012-12-18 (3)
  • Status changed from new to accepted

comment:4 Changed 11 years ago by spli

  • Description modified (diff)
  • Priority changed from minor to major
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.70930 sec.)

We're Hiring!