PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Settings.xml corrupts if there is an issue launching

Open
#2,181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug crash
Dominant language
Lua
Stars
5.4k
Forks
2.4k
Avg merge
1d 12h
Merged PRs (30d)
26

Description

  • What happened?
    PoB hung while launching so I closed it. On restarting, it gave an error about being unable to parse settings.xml on line 5; without warning it then OVERWROTE settings.xml with a blank one (so now I have lost a ton of profiles that I regularly pulled builds from).
  • What were you trying to do?
    Opening PoB to import a build
  • What steps will reproduce the bug?
  • Kill PoB while the green pre-launch window is open, then start PoB again.
  • Does it reproduce every time?
  • No
  • Provide a build code:
    N/A
  • Screenshots:
    N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the launch sequence by killing PoB while the green pre-launch window is open, then inspect how settings.xml is parsed and overwritten on restart. Done means a malformed or incomplete settings.xml does not silently replace the user's profiles with a blank file.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.