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 #854 (assigned)

Opened 16 years ago

Last modified 14 years ago

Rendering Settings Service Missing Return Values

Reported by: cxallan Owned by: cxallan
Priority: major Milestone: Unscheduled
Component: Services Version: n.a.
Keywords: n.a. Cc: jburel, atarkowska
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.


The paradigm of the existing return values for methods located in IRenderingSettings is that certain settings applications could fail or succeed. As such, we have methods such as:

Map applySettingsToDataset(@NotNull long from, @NotNull long to);

where the <k,v> pairs are {true, List<Long>} and {false, List<Long>} signifying the above failure and success conditions. The methods in the service which reset rendering settings do not follow the paradigm because reseting of rendering settings should never fail. Failure conditions during methods which reset rendering settings are handled by throwing exceptions; in this case the entire transaction fails.

This said, it would be convenient for application developers to be able to know exactly which images have had their rendering settings reset when calling methods which take a Dataset, Category, etc.

Change History (3)

comment:1 Changed 16 years ago by cxallan

  • Cc jburel atarkowska added
  • Owner changed from jmoore to callan
  • Status changed from new to assigned

Initial implementation for review available in r1985.

comment:2 Changed 14 years ago by jmoore

  • Milestone set to Unscheduled

comment:3 Changed 14 years ago by jburel

  • Type changed from User Story to Task
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.66598 sec.)

We're Hiring!