Feature #47456

ManyToOne and OneToOne Relations of Objects passed as Action Argument are loaded automatically

Added by Benno Weinzierl over 2 years ago. Updated almost 2 years ago.

Status:New Start date:2013-04-22
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Validation
Target version:-
PHP Version: Complexity:
Has patch:No

Description

All ManyToOne and OneToOne Relations of Objects passed as Action Argument are loaded automatically by the Validator (circumventing the lazy loading).

This results in several querries even if no relations are accessed in the action.

I think robert mentioned that validation will be at some point totally skipped for safe methods which will resolve this to some extend. But even for unsafe methods it may be the case that objects from database which are not modified should not be validated.

History

#1 Updated by Robert Lemke about 2 years ago

  • Target version set to 2.1

#2 Updated by Robert Lemke about 2 years ago

  • Target version deleted (2.1)

Also available in: Atom PDF