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

Opened 12 years ago

Closed 12 years ago

Image-Pixels

Reported by: jburel Owned by: jamoore
Priority: blocker Milestone: OMERO-4.4
Component: General Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-05-22 (15)

Description

  • Creating an image required a pixels to be created.
  • Creating a pixels required an image to be created.

Test under integration/BasicTest

Change History (1)

comment:1 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed
commit 51a2a1cf74a5f883028d0e61e142a12fcf3f61f0
Author: jmoore <josh@glencoesoftware.com>
Date:   Tue May 15 09:34:24 2012 +0200

    Call Pixels.setImage from Image.setPixels (Fix #8799)
    
    Unlike 4.3, with the one-to-one relationship between
    Image/Pixels, it is now required to save via the Pixels.
    
    This worked without modification to the code, but the
    tests had to be updated to always have an image and a
    pixels object.
    
    What masked the issue was the fact that the setImage
    call was not being made automatically.
    
    Note: to get the test to pass it was also necessary
    to set Channel.name!
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.69182 sec.)

We're Hiring!