Page MenuHomeSoftware Heritage

Make search_origin_metadata fallback to origin ids if origin url is None.
ClosedPublic

Authored by vlorentz on Mon, Aug 26, 3:45 PM.

Details

Summary

While the idx-storage is migrating, origin_url may be None;
and this needs to be handled.

T1948

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Mon, Aug 26, 3:45 PM
anlambert accepted this revision.Mon, Aug 26, 4:01 PM

Looks good to me.

I totally missed the metadata checkbox being checked in the screenshot attached to T1948 so I did not manage to reproduce the bug when it has been posted.

This revision is now accepted and ready to land.Mon, Aug 26, 4:01 PM
This revision was automatically updated to reflect the committed changes.