This project is read-only.

Versions of child items

Topics: Developer Forum
Jan 13, 2009 at 9:44 AM
I have a question about child items and EditableItem. If I publish a page, which creates a new version, all child items also get a new versions created (if no special attribute is set). But when I try to edit a older version of the page, the latest child item is shown, not the one that "existed" when the page was unpublished (when another page was saved).

Shouldn't the child items be related to the page? The child item version used for a specific page should be shown, not the latest, right? I've tested changing the site name on the N2 demo site, and I got the same result, the latest version of the child item was shown in edit mode. A bug perhaps?
Jan 14, 2009 at 7:17 PM
I totally agree with you, they should. The primary reason they arn't is that I thought it a bit tricky to implement. You could post it as a feature request.