Actions
Task #70020
open@transient properties should be ignored when checking if object is dirty
Start date:
2015-09-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:
Description
I am currently working on a REST Api for TYPO3-7 and i recognized, that i allways get TRUE when checking AbstractEntity::_isDirty()
The problem is, that @transient properties are checked also.
But by using the ObjectAccess::getProperties and stuff a @transient property will be loaded via get-method, that way an objects internal logic may set the transient property as first-level-cache. I guess i am not the only one using that possibility.
Properties starting with an underscore (_languageUid) are ignored, @transient properties should also be ignored.
That could reduce database load a lot in certain contexts.
No data to display
Actions