View Issue Details

IDProjectCategoryView StatusLast Update
0005325Spring engineGeneralpublic2016-07-30 13:52
Reporterabma Assigned Toabma  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version104.0 
Summary0005325: ArchiveCache10.lua contains 0 as checksums where it shouldn't
Descriptiondidn't fully investigate but this heavily looks like an error.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

abma

2016-07-30 03:04

administrator   ~0016578

GetArchiveCompleteChecksum & GetSingleArchiveChecksum return 0 when file isn't cached.

also WriteCacheData() does write entries with 0 checksums.

hokomoko

2016-07-30 12:17

developer   ~0016579

Last edited: 2016-07-30 12:18

That's what FastArchiveScan is doing - it doesn't calculate the hash of stuff it doesn't have to.

abma

2016-07-30 13:42

administrator   ~0016580

Fix e0958050b4629d6e8c19077f690cd30345db64d0 committed to develop branch: fix 0005325: don't share ArchiveCache accross releases:
the format broke unnoticed
checksum = 0 wasn't stored before FastArchiveScan, repo: spring changeset id: 7242

abma

2016-07-30 13:52

administrator   ~0016581

with an empty ArchiveCache always the checksum 0 was stored.

Issue History

Date Modified Username Field Change
2016-07-30 00:55 abma New Issue
2016-07-30 03:04 abma Note Added: 0016578
2016-07-30 12:17 hokomoko Note Added: 0016579
2016-07-30 12:18 hokomoko Note Edited: 0016579
2016-07-30 13:42 abma Changeset attached => spring develop e0958050
2016-07-30 13:42 abma Note Added: 0016580
2016-07-30 13:42 abma Assigned To => abma
2016-07-30 13:42 abma Status new => resolved
2016-07-30 13:42 abma Resolution open => fixed
2016-07-30 13:52 abma Note Added: 0016581