Project

General

Profile

Actions

Bug #2895

closed

Reload an archive made before an eventlog migration lead to an error

Added by Nicolas PERRON over 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
3
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The archive is a great functionality but is undermine by a bug related to eventlog:
  • Make an archive before an eventlog migration (fileFormat=2)
  • Reload this archive after the eventlog migration (fileFormat=3)
  • An error appear
Actions #1

Updated by François ARMAND over 12 years ago

  • Priority changed from 1 (highest) to 3

Actually, that bug only happen on migration with update on eventlog fileformat - ok, that's all migration for now, but we should be precise.

The idea here is to pre-process events from an archive to migrate them all the way up to the current fileFormat, and then load the archive.
Of course, it will be much more complex, because we read events on demand (and so have to migrate them on the fly), and some refactoring must be done to allows archive loader to use migration services...

Actions #2

Updated by Nicolas PERRON over 12 years ago

  • Target version changed from 2.4.0~rc2 to 2.4.0~rc1
Actions #3

Updated by François ARMAND about 12 years ago

Some more narrowing: we only have to support migration from fileformat as old as "2" (because before that, we didn't have archives)

Actions #4

Updated by François ARMAND about 12 years ago

  • Status changed from New to In progress
Actions #5

Updated by François ARMAND about 12 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100
Actions #6

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to Released

This seems valid, thank you Francois.
I've made some corrections in the tests to allow Jenkins to succeed on them (I don't know why it needs it thought)...

Actions #7

Updated by Jonathan CLARKE about 12 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~beta5
Actions

Also available in: Atom PDF