[Seaside-dev] Issue 247 in seaside: WAValidationDecoration>>#validate does not work on all platforms

codesite-noreply at google.com codesite-noreply at google.com
Fri Nov 28 14:24:06 UTC 2008


Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 247 by renggli: WAValidationDecoration>>#validate does not work  
on all platforms
http://code.google.com/p/seaside/issues/detail?id=247

Some Smalltalk platforms seem to continue evaluating the receiving block of  
#on:do: after
processing the exception handler of a notification. Adding a return to the  
end of the exception
handler solves this issue:

validate: anObject
	[ validationBlock value: anObject.
	message contents: nil.
	^ true ]
		on: self exceptionClass
		do: [ :exception |
			message contents: exception messageText.
			^ false " <-- add this"  ].
	^ false


-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list