Feature #47456

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

Added by Benno Weinzierl over 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Validation
Target version:
-
Start date:
2013-04-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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.

#1

Updated by Robert Lemke over 8 years ago

  • Target version set to 2.1
#2

Updated by Robert Lemke over 8 years ago

  • Target version deleted (2.1)

Also available in: Atom PDF