projectwonder/wonder — pull request #109 by darkv (2012-01-26 09:22:38+00:00)
Title: move check if validateForSave should be skipped to separate method

validateForSave checks if it should be skipped when validatedWhenNested is true and the eo comes from the parent editing context. As sometimes that method is overridden in entity classes you would be forced to copy that check to prevent the custom validation statements. Moving that check to a separate method reduces that to calling a method instead of duplicated code.