devops-center-feedback icon indicating copy to clipboard operation
devops-center-feedback copied to clipboard

Unable to deploy full profile from DevOps Center

Open karthicknr22 opened this issue 2 years ago • 3 comments

We're unable to deploy full profile from one DEV sandbox to another DEV sandbox through DevOps Center tool with the changes in Custom App Settings,Tab Settings,Standard Object Permissions

To Reproduce Steps to reproduce the behavior:

  1. Clone a existing standard profile in a source DEV sandbox env.
  2. Amend the changes in Custom App Settings,Tab Settings,Standard Object Permissions.
  3. Create a work item in DevOps Center to move the profile change from a source DEV sandbox to destination DEV sandbox.
  4. Profile is getting promoted to destination DEV sandbox.
  5. Unable to see the changes in the destination DEV sandbox env.

Expected behavior We should see the changes made in Custom App Settings,Tab Settings,Standard Object Permissions.

Screenshots

Additional context Add any other context about the problem here.

karthicknr22 avatar Jun 24 '22 15:06 karthicknr22

@kfidelak94 - could you please help us here? Our Org id is 00D8d000003VLCq and instance is UM8.

karthicknr22 avatar Jun 27 '22 14:06 karthicknr22

Hi @karthicknr22 I believe what you're seeing is unfortunately a result of an underlying issue related to Profiles and how they're currently handled by the underlying metadata and source tracking apis. The issue is described a bit more here in this CLI issues repo. These are the underlying commands that DevOps Center is using, and that team looking into a solution, but it's likely not going to be available in the immediate near term.

kfidelak94 avatar Jun 28 '22 01:06 kfidelak94

With permission sets becoming more common for object/field permissions thankfully the need to deploy profile changes is becoming less and less. Because of how complicated profile deployments are, I've opted to just always do them manually.

I do still try to keep the repo in sync behind the scenes and I'll manually update the profile metadata in the GitHub repo (even if I'm not using DevOps Center to deploy them). (Kind of as a metadata backup)

msteinersalesforce avatar Feb 09 '24 16:02 msteinersalesforce