Add channel when adding content item with form block

Description

Background

A form block is used on a channel, but when the content item is created the channel is not added.

Requirements

  • When a content item is created from the form block AND the channel is not disabled in the content type configuration, the active channel need to be added to the content item

Test scenarios

  • Add a form block with a content type with the channel field enabled, or enabled but hidden

  • Submit the form block on the website

  • Verify the channel is added to the new content item

  • Disable the channel in the content type configuration

  • Submit the form block on the website again

  • Enable the channel in the content type configuration

  • Verify the channel has NOT been added to the second content item

Technical tasks

None

Deployment actions

None

Status

Assignee

Unassigned

Client

Integrated Marijn

Sprint

None

Fix versions

Configure