Page MenuHomeSoftware Heritage

Fix message and error for artifact history view bug
Closed, ResolvedPublic

Description

This error happened when I clicked on history when browsing an origin:
TypeError: 'NoneType' object is not subscriptable
https://archive.softwareheritage.org/browse/origin/https://hal.archives-ouvertes.fr/hal-01897934/log/

  • fix message
  • fix bug

Putting it in web app project but I'm not sure this is the place for it.

Event Timeline

moranegg created this task.Apr 18 2019, 3:31 PM
moranegg triaged this task as Normal priority.

The bug is related to the fact that the parent revision of that deposit is not present in the archive (see https://archive.softwareheritage.org/browse/revision/3d4aadc83990ccda9cc94a554ca69f6dedb1e071/?origin=https://hal.archives-ouvertes.fr/hal-01897934).

I should handle this corner case in the revisions walker implementation located in swh-storage.

olasd added a subscriber: olasd.Apr 19 2019, 9:05 AM

The fix has been deployed to moma.