[Seaside] Store Demo Broken

Ramon Leon rleon at insario.com
Fri Sep 9 02:50:58 CEST 2005

Anyone notice the store demo doesn't work anymore if you try and check
out.  Seems like addMessage: is being sent to a WAValidationDecoration,
but it's a subclass of WAPresenter, rather than WAComponent which can
handle that message?  I'm running latest 2.6a2v5.

getAddressWithMessage: aString
	^ self call:
		((WAStoreAddressEditor new
			validateWith: [:a | a validate])
				addMessage: aString)

results in...

MessageNotUnderstood: WAValidationDecoration>>addMessage:

    * WAValidationDecoration(Object)>>doesNotUnderstand: #addMessage:

          self	a WAValidationDecoration
          aMessage	addMessage: 'Please enter your shipping
          inst vars
          next	a WAStateHolder(a WAFormDecoration)
          message	a WAStateHolder(nil)
          validationBlock	[] in
WAStoreTask>>getAddressWithMessage: {[:a | a validate]}
          exceptionClass	nil

    * WAStoreTask>>getAddressWithMessage:

          self	a WAStoreTask
          aString	'Please enter your shipping address:'
          a	nil
          inst vars
          decoration	a WAStateHolder(a WATransaction)
          cart	a WAStoreCart

More information about the Seaside mailing list