Skip to content

When an existing field is set to required, related Permission Sets are not pulled #6

@FabienTaillon

Description

@FabienTaillon

Describe the bug
When an existing field is set to required, related Permission Sets are not pulled

To Reproduce
Steps to reproduce the behavior:

  • Create a Scratch Org
  • Create a field (like a text field on Account)
  • Create a Permission Set and add read and edit access to the field
  • Pull everything
  • Go to the field and set it as required
  • Pull again

Expected behavior
Both field and Permission Set should be pulled. Today, only the field is pulled, whereas the Permission Set should be pulled too. When deploying as is (without manually retrieving the Permission Set) you'll get this error: "You cannot deploy to a required field".

Metadata

Metadata

Assignees

No one assigned

    Labels

    change not tracked on orgChange in Org isn't tracked correctly in SourceMember

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions