Ticket #48 (closed defect: wontfix)

Opened 6 years ago

Last modified 5 years ago

Problem with validating parent objects when a child is saved

Reported by: Brandon SarĂ  Assigned to: eitan
Priority: major Component: validation
Version: Keywords:
Cc:

Description

In the HBMSingleSession's save method that allows for a child to be created before its parent is saved, when the child is saved before the parent is explicitly saved, no validation is invoked upon the parent.

Change History

12/13/06 18:04:36 changed by eitan

  • component set to validation.

02/01/07 15:51:10 changed by eitan

  • status changed from new to closed.
  • resolution set to wontfix.

i can see how the time at which an attempt is made to save the child object might be an opportunity to try to validate the parent. however, at this point in time we are not trying to save the parent. i'm not sure i see this as a bug.

also, a good part of the validation logic already occurs at a higher resolution. for example, after tabbing out of a phone number field, the validation on that field takes place immediately, without having to wait for an attempt to save the object/entity that contains the field.

closing this issue for now. i would like to see your point of view. it might very well be that i'm missing something.