Project

General

Profile

Feature #1043

When retrieving related child objects, parent should be filled with known record

Added by Elmer de Looff over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Elmer de Looff
Category:
Model
Target version:
Start date:
2012-10-16
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

When the _Children method is executed, the returned records have the foreign key for the relation field, while the actual foreign value of that is known. _Children should provide these known parent fields.

Associated revisions

Revision 303:98304a3a400f (diff)
Added by Elmer de Looff over 11 years ago

Retrieving child objects places a copy of the parent in said children. Also adds the necessary shallow copy behavior to the BaseRecord. This resolves #1043.

History

#1 Updated by Elmer de Looff over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 70

Applied in changeset 98304a3a400f.

#2 Updated by Elmer de Looff over 11 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 70 to 100

This has been implemented and confirmed to work.

Also available in: Atom PDF