Feature #1543

Support 1-1 object references

Added by Robert Lemke about 11 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Must have
Category:
Persistence
Target version:
-
Start date:
2008-09-17
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

Description

/**
*@entity
*/
class Site {

/**
 * @var F3::TYPO3::Domain::StructureNode
 * @reference
*/
protected $rootNode;

}

Results in:

#1: Catchable Fatal Error: Argument 1 passed to F3::FLOW3::Persistence::Manager::traverseAndInspectReferenceObjects() must be an array, object given, called in /Users/Shared/Sites/dev/t3v5/dist/Packages/FLOW3/Classes/Persistence/F3_FLOW3_Persistence_Manager.php on line 202 and defined in /Users/Shared/Sites/dev/t3v5/dist/Packages/FLOW3/Classes/Persistence/F3_FLOW3_Persistence_Manager.php line 186

Associated revisions

Revision 92e841f1 (diff)
Added by Karsten Dambekalns about 11 years ago

FLOW3:
  • added a missing method to the AOP proxy interface
  • persistence now can handle 1:1 references, fixes #1543

History

#1 Updated by Karsten Dambekalns about 11 years ago

  • Status changed from New to Accepted

#2 Updated by Karsten Dambekalns about 11 years ago

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

Applied in changeset r1249.

Also available in: Atom PDF