#25 closed defect (done)
Persistence breaks workbenches when they become smaller in size
Reported by: | abeham | Owned by: | gkronber |
---|---|---|---|
Priority: | high | Milestone: | HeuristicLab 3.3.0 |
Component: | Core | Version: | 3.0 |
Keywords: | Cc: |
Description
Took me a while to nail the problem, but I think it occurs as following: If a workbench is saved, then shrunken in size and resaved the persistence manager breaks the file. It will not clear the file entirely and overwrite only the first part of the file.
Change History (9)
comment:1 Changed 17 years ago by abeham
- Owner changed from swagner to abeham
- Status changed from new to assigned
comment:2 Changed 17 years ago by abeham
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 17 years ago by gkronber
- Resolution fixed deleted
- Status changed from closed to reopened
better fix would be to replace File.OpenWrite() with File.Create()
comment:4 Changed 17 years ago by gkronber
- Owner changed from abeham to gkronber
- Status changed from reopened to new
comment:5 Changed 17 years ago by gkronber
- Status changed from new to assigned
comment:6 Changed 17 years ago by gkronber
- Resolution set to fixed
- Status changed from assigned to closed
fixed with r22
comment:7 Changed 16 years ago by swagner
- Milestone changed from 3.0 to Iteration 0
Milestone 3.0 deleted
comment:8 Changed 14 years ago by swagner
- Milestone changed from Iteration 0 to Current
Milestone Iteration 0 deleted
comment:11 Changed 14 years ago by swagner
- Milestone changed from Current to HeuristicLab 3.3.0
Milestone Current deleted
Note: See
TracTickets for help on using
tickets.
fixed in r21 by overwriting all existing files with an empty string before saving the data