ironjan / klausurtool-ror

Previous Klausurtool of the FSMI UPB.
Apache License 2.0
2 stars 0 forks source link

Lending Archive should not rely on the existence of folder instances #214

Closed ironjan closed 8 years ago

ironjan commented 8 years ago

How does this problem happen?

  1. First I go to history
  2. Then I choose one history entry
  3. Then I delete the corresponding folder instance because it was lost a long time ago

    What does happen?

History shows this entry without the corresponding instance.

What do you expect to happen instead?

History should continue to show the entry with barcode id and folder name.

Potential solution

Separate Archive from the rest of the db. Denormalize things. Normalization is for keeping updates simple, but this is more a log and therefore could get its own table structure.