Ticket #178 (closed: fixed)
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
Note: See
TracTickets for help on using
tickets.
(In [1156]) Extended MandatoryValidator so that it can also be used by ArrayProperties. Closes #178.