Modify

Opened 15 years ago

Closed 15 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 Milestone:
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)

do_not_destroy_prefs.patch (2.9 KB ) - added by xeen 15 years ago.
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.

Download all attachments as: .zip

Change History (7)

comment:1 by avarab@…, 15 years ago

Summary: JOSM destroys it's preferences, when disk is fullJOSM destroys its preferences, when disk is full

by xeen, 15 years ago

Attachment: do_not_destroy_prefs.patch added

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.

comment:2 by xeen, 15 years ago

Summary: JOSM destroys its preferences, when disk is full[PATCH] JOSM destroys its preferences, when disk is full

comment:3 by anonymous, 15 years ago

Resolution: fixed
Status: newclosed

applied in r2038

in reply to:  3 comment:4 by bastiK, 15 years ago

Resolution: fixed
Status: closedreopened
Summary: [PATCH] JOSM destroys its preferences, when disk is fullRegression in r2038 (patches "JOSM destroys its preferences, when disk is full")
Version: 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 by anonymous, 15 years ago

Owner: changed from team to xeen
Status: reopenednew

comment:6 by Gubaer, 15 years ago

Resolution: fixed
Status: newclosed

(In [2053]) fixed #2322: Regression in r2038 (patches "JOSM destroys its preferences, when disk is full")

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain xeen.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.