On Mar 19, 2007, at 5:10 PM, johnf wrote:
> So the first part the adding of
> a record could work. But if the user does not make a change to the
> newly
> added child record but does make a change to the parent record I get:
>
> null value in column "pkid" violates not-null constraint
>
> SQL: insert into "public"."arcnot" (pkid) values (NULL)
>
> Is this a bug or did I forget to set something?
>
> Of course if I do add something to the child.record field all works.
That sounds wrong. New, unchanged records in the cursor should be
discarded. I wonder if any of the memento optimizations that were
done recently overlooked this case.
I'll look into it some more and get back to you.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev