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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Update_group_assignment_after_content_update-3301536-2.patch | 2.51 KB | diaodiallo |
Comments
Comment #2
diaodiallo commentedAttached patch fixes this issue.
Comment #4
diaodiallo commentedThis patch is committed, if a new group is selected it remove the old relationship add the ew one.