Answers.Body: <p>I don't think this is actually an 'error', the status is just misleading.</p>
  
  <p>The Group &lt;> Role sync runs on a user when they log in, syncing up the roles. All this message is saying is: "When the user logged in, I added role x, because they are a member of group y."</p>
  
  <p>The severity of these database log messages is misleading and will be fixed up in 4.7 by this commit: <a href="https://github.com/civicrm/civicrm-drupal/pull/272" rel="nofollow">https://github.com/civicrm/civicrm-drupal/pull/272</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-04T10:23:25.757Z
Answers.LastActivityDate: 2015-08-04T10:23:25.757Z
Answers.UserDisplayName: John
Body: <p>After upgrading Drupal to 7.3.8 (don't know if this is related), I'm getting an error when a user logs on and belongs to groups/holds a role that is set up with CiviGroup Roles Sync.</p>
  
  <blockquote>
    <p>Role <em>groupname</em> (<em>group id</em>) should be held by user <em>username</em> (<em>drupal user id</em>)
    because they are part of <em>group id</em> (contactID: <em>civi id</em>)</p>
  </blockquote>
  
  <p>When I check the user's groups and roles, they appear to be correct.
  The error is listed in dblog for each group that they are a member of.</p>
  
  <p>Groups are regular groups, not smart groups.</p>
  
  <p>Appears to be happening for all users.</p>
  
Tags: <drupal><groups>
Title: CiviGroup Roles Sync errors
ThreadText: # CiviGroup Roles Sync errors
  
  (Asked by: username_0 on 2015-06-29)
  
  After upgrading Drupal to 7.3.8 (don't know if this is related), I'm getting an error when a user logs on and belongs to groups/holds a role that is set up with CiviGroup Roles Sync.
  
  > Role *groupname* (*group id*) should be held by user *username* (*drupal user id*)
  > because they are part of *group id* (contactID: *civi id*)
  
  When I check the user's groups and roles, they appear to be correct.
  The error is listed in dblog for each group that they are a member of.
  
  Groups are regular groups, not smart groups.
  
  Appears to be happening for all users.
  
  **Tags:** drupal, groups
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-04. Score: 2 | Accepted answer
  
  I don't think this is actually an 'error', the status is just misleading.
  
  The Group <> Role sync runs on a user when they log in, syncing up the roles. All this message is saying is: "When the user logged in, I added role x, because they are a member of group y."
  
  The severity of these database log messages is misleading and will be fixed up in 4.7 by this commit: <https://github.com/civicrm/civicrm-drupal/pull/272>
  
  
  ---
  
  