Hi,
I've noticed that non-validation errors are trapped by the code in
PRContentsWidget>>#onAnswerCommand: aCommand
Can anyone anticipate any problems catching MAError rather than Error, so
that non-validation errors are propagated as normal and validation errors
are displayed. Currently the code reads:
onAnswerCommand: aCommand
aCommand isNil
ifTrue: [ ^ self context: (self context structure: self context structure)
].
[ aCommand execute ]
on: Error
do: [ :err | ^ self component errors add: err ].
self context: aCommand answer
I'd like to change Error to MAError
Have I missed anything?
Nick