When using UUID Services to save a user account roles sometimes they are blindly passed without ensuring the rid are the same between the source and deploy site. This should be taken into account by UUID.

Comments

joseph.olstad’s picture

Status: Active » Patch (to be ported)

Posted by lampson on June 12, 2014 at 11:24am

Currently the rid is being passed from source to destination resulting in the roles being modified on destination site. I tried the following patch which uses the name property instead of rid and it works. Please add this patch to upcoming releases.

issue: https://drupal.org/node/1547894

sylus’s picture

Status: Patch (to be ported) » Fixed

Posted the modified code to wetkit deployment as causes conflicts to other patches in UUID.

  • sylus committed 8f42e12 on 7.x-1.x
    Update WetKit Deployment for Issue #2282931 by sylus: Fixed Incorrect...

Status: Fixed » Closed (fixed)

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

joseph.olstad’s picture

Thanks to David_Rothstein for the original patch:
issue upstream: https://www.drupal.org/node/1547894
Incorrect and nonexistent roles are sometimes saved by UUID Services

https://www.drupal.org/files/uuid-roles.patch