Skip to content

Return the key correctly when having a single userDataProfileContentH…#178517

Merged
sandy081 merged 2 commits into
microsoft:mainfrom
mahmoudsalah1993:fix-single-IUserDataProfileContentHandler-available-issue-when-exporting-profile
Apr 5, 2023
Merged

Return the key correctly when having a single userDataProfileContentH…#178517
sandy081 merged 2 commits into
microsoft:mainfrom
mahmoudsalah1993:fix-single-IUserDataProfileContentHandler-available-issue-when-exporting-profile

Conversation

@mahmoudsalah1993

Copy link
Copy Markdown
Contributor

Resolves #178515

pickProfileContentHandler returns the string key for the selected userDataProfileContentHandler, and when 1 single handler is available it should return the key for that handler. This was incorrectly set as the value of the handler instead which when returned from the method getting the element for this invalid id returns an undefined handler hence causing Profiles: Export Profile to break in this case.

@sandy081 sandy081 added this to the April 2023 milestone Mar 29, 2023
@sandy081 sandy081 enabled auto-merge March 29, 2023 14:43
@sandy081 sandy081 closed this Apr 4, 2023
auto-merge was automatically disabled April 4, 2023 11:35

Pull request was closed

@sandy081 sandy081 reopened this Apr 4, 2023
@sandy081 sandy081 merged commit 35d591d into microsoft:main Apr 5, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exporting profile with one enabled userDataProfileContentHandler returns the wrong id

3 participants