Skip to content

[Feature]: HeyLoyalty integration includes unintended audiences after cloning #101

@MIF-OS2udoglaer

Description

@MIF-OS2udoglaer

Background

When using the integration with HeyLoyalty, "målgrupper" from multiple "overordnede målgrupper" are included when content of type “undervisnings- og læringsforløb” has been cloned. This occurs specifically in cases where content has been duplicated from one "overordnet målgruppe" to another.

The behaviour is expected to a degree in the current setup, as cloning reuses relationships from the original content. It is not considered a bug, since it can be worked around and appears not to happen often. However, it can lead to unintended audience inclusion if not noticed.

Acceptance Criteria

  • When content of type “undervisnings- og læringsforløb” is cloned and a new "overordnet målgruppe" is selected "målgrupper" from other "overordnet målgruppe" should be deleted.
  • Only the "målgrupper" explicitly associated with the new content are saved.

Assumptions / Prerequisites

No response

Implementation Breakdown

No response

Test Description

No response

Risks and Risk Assessment

No response

Not included

No response

Design

No response

Data foundation

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions