Hi
I'm playing with the latest Magritte and generating some forms for a couple objects to
test out how relationships between objects works, I'm running into some trouble. At
first I thought it was something wrong with my code.
descriptionProject
^(MASingleOptionDescription selector: #project label: 'Project' priority: 10)
reference: MAClassDescription new;
options: (MADynamicObject on: [ TMProject repository asArray]);
beRequired; beSorted ;
yourself
but after writing a lenghy email explaining the issue, it struck me what it might be, so I
popped into MADescription and commented out the code for validateKind: anObject. Turns
out that fixed my issue. Validation was failing because the objects I had in a single
option description were proxies coming from goods, and they fail validateKind:, has
someone else run into this? Guess I'll just leave it commented out for now until
there's a fix, or I figure out what I'm doing wrong.