Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Fix publishing of Fluent Contents items to include related placeholders & content items #22

@jmurty

Description

@jmurty

When a Fluent Contents model that is not a Fluent Contents Page is published the related content items contentitem_set and placeholder_set are not properly cloned to the published copy.

This is because the model-cloning implementation makes some assumptions about how to clone these items, which work for pages but not for non-page models matching the Fluent Contents form, i.e. with layout, contentitem_set, and placeholder_set attributes.

See the related issue AoT 67

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions