Ticket #178 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Qtiplot crashes when SimpleRebin is run with an empty 'params' ArrayProperty

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: minor Milestone: Iteration 10
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Since there are no validators for ArrayProperties, it's possible to set SimpleRebin off without setting the 'params' property at all (i.e. it doesn't fail the property validation). This can be bad news, since you end up trying to access the first element of an empty vector.

Change History

comment:1 Changed 12 years ago by Russell Taylor

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

(In [1156]) Extended MandatoryValidator so that it can also be used by ArrayProperties. Closes #178.

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1026

Note: See TracTickets for help on using tickets.