Skip to content

Org difference view. Profile comparision is suggesting removing big blocks of the permissions. #7265

@PawelWozniak

Description

@PawelWozniak

Summary

Trying to use metadata tracking, but it shows wrong suggestions for conflict resolutions.

Steps To Reproduce:

  1. Have in your repository profile file which was creating by downloading matedata with package.xml where classes, objects and profiles were included.
  2. In the org. Modify any field permission or add field on any object to just force difference in profile file.
  3. Org Difference retrive profile without classes context and suggest removing big portion of the profile file.
    See the scroll bar how much empty space is on the left. Red marked are changed values.
Image

It also suggest to remove fields permissions.

Image

Expected result

I see only real difference.
In given example 5 fields has been changed, 1 added and 1 removed.

Actual result

There is a huge difference suggested, which is not true.

Additional information

Feel free to attach a screenshot.

Salesforce Extension Version in VS Code:
66.8.0
Salesforce CLI Version:
@salesforce/cli/2.131.7 win32-x64 node-v24.15.0
OS and version:
Windows 11 25H2
VS Code version:
1.117
Most recent version of the extensions where this was working:
Never as this is new feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions