Problem/Motivation

The content is added to a group after the insert only, it should update the group assignment after content update.

Steps to reproduce

- Install the module and configure it.
- Save new content with a selected group.
- Update this content by changing the group field value.

Proposed resolution

Add update hook, remove the first assignment and assign the content to the last selected group.

Remaining tasks

- Add a patch.
- Test it by the community.

User interface changes

NA

API changes

NA

Data model changes

NA

Comments

diaodiallo created an issue. See original summary.

diaodiallo’s picture

Status: Active » Needs review
StatusFileSize
new2.51 KB

Attached patch fixes this issue.

  • 54d7fcc committed on 1.0.x
    Issue #3301536 by diaodiallo: Update group assignment after content...
diaodiallo’s picture

Version: » 1.0.0-alpha1
Status: Needs review » Fixed

This patch is committed, if a new group is selected it remove the old relationship add the ew one.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.