Modify ↓
Opened 4 years ago
Closed 4 years ago
#2322 closed defect (fixed)
Regression in r2038 (patches "JOSM destroys its preferences, when disk is full")
| Reported by: | anonymous | Owned by: | xeen |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | |
| Cc: |
Description
When disk is full or JOSM crash during writing of the preferences, all preferences are gone.
Attachments (1)
Change History (7)
comment:1 Changed 4 years ago by avar
- Summary changed from JOSM destroys it's preferences, when disk is full to JOSM destroys its preferences, when disk is full
Changed 4 years ago by xeen
comment:2 Changed 4 years ago by xeen
- Summary changed from JOSM destroys its preferences, when disk is full to [PATCH] JOSM destroys its preferences, when disk is full
comment:3 follow-up: ↓ 4 Changed 4 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
applied in r2038
comment:4 in reply to: ↑ 3 Changed 4 years ago by bastiK
- Resolution fixed deleted
- Status changed from closed to reopened
- Summary changed from [PATCH] JOSM destroys its preferences, when disk is full to Regression in r2038 (patches "JOSM destroys its preferences, when disk is full")
- Version set to latest
Since r2038:
If you remove the josm-home folder, an error-message pops up on start-up ("Preferences file had errors...").
A fresh preferences file should be created silently.
comment:5 Changed 4 years ago by anonymous
- Owner changed from team to xeen
- Status changed from reopened to new
comment:6 Changed 4 years ago by Gubaer
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



Backups old prefs, writes new prefs to tempfile first. If disk becomes full or josm crashes only the tempfile should be broken. At least, there should be a working backup.