Skip to content

Conversation

@carlos-zamora
Copy link
Member

@carlos-zamora carlos-zamora commented Aug 6, 2025

The Name, Source, and Commandline profile settings should not be allowed to be set on the Profiles.Defaults object. This just enforces that by clearing them (as is done with Guid).

These profile settings are omitted from the settings UI's profile defaults page.

Closes #19202

@carlos-zamora
Copy link
Member Author

@DHowett @lhecker

Currently fixing the tests. I also just noticed that commandline is omitted from the Profiles Defaults in the SUI, which also makes sense to me. I'm clearing it too now (local commit), but I noticed it broke a few of the new MediaResourceTests, so I just wanted to check-in: are we ok clearing commandline in Profiles Defaults too?

Personally, I think that's the right move, but curious about your thoughts. Let me know!

@DHowett
Copy link
Member

DHowett commented Aug 7, 2025

You will need to figure out how to test the icon path fallback behavior if you don't allow that

@carlos-zamora carlos-zamora changed the title Clear Name and Source from Profiles.Defaults Clear Name, Source, and Commandline from Profiles.Defaults Aug 7, 2025
@carlos-zamora carlos-zamora requested a review from DHowett August 7, 2025 21:22
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 7, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 8, 2025
@DHowett DHowett merged commit 2c666aa into main Aug 22, 2025
19 checks passed
@DHowett DHowett deleted the dev/cazamor/no-name-no-source branch August 22, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Profile.Defaults should not allow Name or Source to be defined

4 participants