Bug #3889

Reinjected dependencies are overwritten with NULL

Added by Robert Lemke about 6 years ago. Updated about 4 years ago.

Status:Resolved Start date:2009-07-13
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:FLOW3 Persistence
Target version:-

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
Added by Robert Lemke about 6 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 about 6 years ago

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

Applied in changeset r2781.

#2 Updated by Robert Lemke about 4 years ago

  • Target version deleted (0.5.0 alpha 3)

Also available in: Atom PDF