Ticket #499 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Image math tries to run even if given no input Datasets

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: May-09 to May-20
Component: Plugin Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Run the Image Calculator plugin before you have opened any images in IJ2. The code that assigns Datasets as input does not see that it did not assign any. The plugin is thus invoked and throws an exception. Make the code that calls plugins avoid calling run if parameters cannot be fully determined.

Change History

comment:1 Changed 9 years ago by bdezonia

  • Status changed from new to accepted

changed AbstractInputHarvester to set its state to canceled if a parameter is tagged as required and whose value == null.

comment:2 Changed 9 years ago by bdezonia

  • Status changed from accepted to closed
  • Resolution set to fixed

comment:3 Changed 9 years ago by bdezonia

  • Milestone changed from biweekly-2011: Apr-25 to May-06 to biweekly-2011: May-09 to May-20
Note: See TracTickets for help on using tickets.