Please give it a try and we will see if there are any bad side-effects.
Lukas
On 25 August 2010 11:02, Nick Ager <nick.ager(a)gmail.com> wrote:
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
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
www.lukas-renggli.ch