Page MenuHomeSoftware Heritage

Fix crash when reading metadata of deposits with no metadata
ClosedPublic

Authored by vlorentz on Apr 7 2022, 2:50 PM.

Diff Detail

Repository
rDDEP Push deposit
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7524 (id=27293)

Rebasing onto 56da78d0bf...

Current branch diff-target is up to date.
Changes applied before test
commit e68442ec71d794d1b7e2affb93f0b64eea645a20
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Apr 7 14:49:14 2022 +0200

    Fix crash when reading metadata of deposits with no metadata
    
    Resolves SWH-DEPOSIT-2P <https://sentry.softwareheritage.org/share/issue/b8509b67972f425a8f5c06805f8cf2fe/>

See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/832/ for more details.

This revision is now accepted and ready to land.Apr 7 2022, 2:59 PM