While the idx-storage is migrating, origin_url may be None;
and this needs to be handled.
Details
Details
- Reviewers
anlambert - Group Reviewers
Reviewers - Maniphest Tasks
- T1948: 400 Bad request for origin metadata search on archive.softwareheritage.org
- Commits
- rDWAPPS0edb017fa06c: Make search_origin_metadata fallback to origin ids if origin url is None.
Diff Detail
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
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tox/699/ for more details.
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DWAPPS/job/cypress-diff/303/ for more details.
Comment Actions
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.