Re: Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-21 Thread Paul Hoadley
Hi Aaron, Thanks for jumping in. On 21 May 2017, at 12:25 am, Aaron Rosenzweig wrote: > After reading this a few times it is still not clear to me what the issue is > but I’ll try to say something helpful. Yeah, I think ultimately it’s esoteric, as advertised, and just

Re: Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-20 Thread Aaron Rosenzweig
Hi Paul, After reading this a few times it is still not clear to me what the issue is but I’ll try to say something helpful. “takeValuesFromRequest()” does try to do some validation if it can figure out the key paths and figure out a “validate()” method to call. Obviously if it is just a

Re: Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-19 Thread Paul Hoadley
On 20 May 2017, at 9:35 am, Paul Hoadley wrote: > On 20 May 2017, at 2:22 am, Chuck Hill > wrote: > >> Looking at the code, it looks like it should work. >> WOKeyValueAssociation.setValue() does the validation and calls

Re: Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-19 Thread Paul Hoadley
Hi Chuck, On 20 May 2017, at 2:22 am, Chuck Hill wrote: > Looking at the code, it looks like it should work. > WOKeyValueAssociation.setValue() does the validation and calls that method. > Is it calling it on a different component than in the first example? It’s not

Re: Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-19 Thread Chuck Hill
com> on behalf of Paul Hoadley <pa...@logicsquad.net> Date: Friday, May 19, 2017 at 3:52 AM To: WebObjects-Dev <webobjects-dev@lists.apple.com> Subject: Esoteric issue with automatic property validation and validationFailedWithException() Hello, Let’s say I have a Page compo

Esoteric issue with automatic property validation and validationFailedWithException()

2017-05-19 Thread Paul Hoadley
Hello, Let’s say I have a Page component. On this page is a subcomponent, MyText, that looks like this in Page’s template: And then MyText itself is just this: Item.content is a String, and allowsNull is N in the model. So, obviously, it’s a candidate for automatic EOF property validation