When a save request task succeeded but the corresponding visit is not yet available
in PostgreSQL database (replication lag), a null visit date can be returned so
handle that special case.
Closes T2557
Paths
| Differential D3873 Authored by anlambert on Sep 3 2020, 3:17 PM.
Details
Summary When a save request task succeeded but the corresponding visit is not yet available Closes T2557
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptSep 3 2020, 3:17 PM2020-09-03 15:17:41 (UTC+2) Comment Actions Build is green Patch application report for D3873 (id=13667)Rebasing onto 9c41d9f90f... Current branch diff-target is up to date. Changes applied before testcommit 49c914f4d88cc45aeb1ae6f83717d37596ca0155 Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Thu Sep 3 15:11:50 2020 +0200 assets/origin-save: Fix handling of null visit dates in requests list Summary: When a save request task succeeded but the corresponding visit is not yet available in PostgreSQL database (replication lag), a null visit date can be returned so handle that special case. Closes T2557 Test Plan: Reviewers: Subscribers: See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/351/ for more details. Harbormaster completed remote builds in B14898: Diff 13667.Sep 3 2020, 3:24 PM2020-09-03 15:24:58 (UTC+2) This revision is now accepted and ready to land.Sep 3 2020, 6:01 PM2020-09-03 18:01:16 (UTC+2) Closed by commit rDWAPPSf8a6cf8f2470: assets/origin-save: Fix handling of null visit dates in requests list (authored by anlambert). · Explain WhySep 4 2020, 2:04 PM2020-09-04 14:04:04 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 13667 cypress/integration/origin-save.spec.js
swh/web/assets/src/bundles/admin/origin-save.js
swh/web/assets/src/bundles/save/index.js
|
Same comment as the other diff