DB Error generated when updating a group with an organisation record attached where the id in the civicrm_group_organisation does not match the id in civicrm_group
If the id of the group does not = the id of its civicrm_group_organisation record then a db error can be generated when trying to update the group.