Skip to content
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

Validate mode before saving settings #8235

Merged
merged 2 commits into from
Aug 31, 2024

Conversation

Paliak
Copy link
Contributor

@Paliak Paliak commented Aug 21, 2024

Fixes #7523

Description of the problem being solved:

If a crash occurs during the loading of a build opened through the pob:// protocol the mode element in settings.xml is corrupted causing a crash upon restarting POB.

This pr attempts to prevent mangling of settings.xml by validating the mode before saving.

@Paliak Paliak added crash Causes PoB to crash and is High Priority technical Hidden from release notes labels Aug 21, 2024
@LocalIdentity LocalIdentity merged commit 6974f9f into PathOfBuildingCommunity:dev Aug 31, 2024
1 of 2 checks passed
@Paliak Paliak deleted the attempt-fix-7523 branch August 31, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Causes PoB to crash and is High Priority technical Hidden from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

An error pops up after installation
2 participants