Bug #3889

Reinjected dependencies are overwritten with NULL

Added by Robert Lemke almost 10 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
Category:
FLOW3 Persistence
Target version:
-
Start date:
2009-07-13
Due date:
% Done:

100%


Description

If a dependency property is not tagged with @transient, it will be overwritten with NULL by the DataMapper right after the dependency has been reinjected (while thawing the property).

Associated revisions

Revision 1a091032 (diff)
Added by Robert Lemke almost 10 years ago

[+BUGFIX] TYPO3CR (FLOW3 Persistence): Even dependencies which are not properly tagged with @transient annotations are now reinjected. Previously the DataMapper would set those properties to NULL. Resolves #3889
[~TASK] FLOW3 (Object): Optimized the autowireProperties() method a bit, using more efficient reflection methods.

History

#1 Updated by Robert Lemke almost 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r2781.

#2 Updated by Robert Lemke about 8 years ago

  • Target version deleted (0.5.0 alpha 3)

Also available in: Atom PDF