Skip to content

editor groups - resolve #96725 #96820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2020
Merged

editor groups - resolve #96725 #96820

merged 1 commit into from
May 4, 2020

Conversation

bpasero
Copy link
Member

@bpasero bpasero commented May 2, 2020

This PR fixes #96725

Editor groups use the editor input factories to serialize on shutdown and deserialize on startup. However, an editor factory is free to return undefined for both cases to signal the editor cannot be restored.

Upon serialization we alread make sure that undefined is handled properly, but not on startup when we deserialize for the list of MRU editors. We need to remove falsify values from the MRU array to ensure we are not storing undefined values in that set. Test added as well.

@bpasero bpasero added this to the April 2020 milestone May 2, 2020
@bpasero bpasero requested a review from deepak1556 May 2, 2020 06:35
@bpasero bpasero self-assigned this May 2, 2020
@bpasero bpasero added the candidate Issue identified as probable candidate for fixing in the next release label May 2, 2020
@bpasero bpasero changed the base branch from master to release/1.45 May 4, 2020 08:22
@bpasero bpasero merged commit fd5d9a3 into release/1.45 May 4, 2020
@bpasero bpasero deleted the ben/96725 branch May 4, 2020 08:22
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
candidate Issue identified as probable candidate for fixing in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An unexpected error prevented the window from closing (Cannot read property 'isDirty' of undefined).
2 participants