[aida] New User Registration problem in Pharo1.2

Nicholas Moore nicholas.moore at tsr-i.com
Thu Jul 7 14:12:09 CEST 2011


I am having a problem with new user registration in the DemoApp using a 
vanilla Pharo 1.2.1 with Aida 6.2 loaded (using ConfigurationOfAida).

The WebForm fields fail the validation test:

WebForm >> save:

     "save all changed form field values to the domain model. All values 
must be valid unitl any value is saved.
     Raise error if any value is not validated. To avoid exception, 
check with #isValid before!
     Save the subforms down in hierarchy as well"
     self isValid ifFalse: [self error: 'form fields not all valid'].
     self allFields do: [:field | field save]. "only changed fields are 
saved! See WebModelAdaptor save"
     self subforms do: [:each | each save]

AidaModelAdaptor >> save

     self changed ifFalse: [^nil].
     self isValid ifFalse: [self error: 'value validation failed!']. 
***** This error then halts processing.
     self saveValue: self buffer.
     self resetChanged.
     self buffer: nil

The AidaPharoOneClick for 1.2 also fails in the same place, during 
WebForm validation.

It works fine with Pharo 1.1.1 and Aida 6.2.

Any suggestions?

-- 

*Nicholas Moore

*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110707/765147c6/attachment.htm 


More information about the Aida mailing list