You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(platform): document version history that fails to load is a dead end: no next step and no Try again #4577
When a document's version history fails to load, the dialog shows only "Couldn't load version history" (de "Versionsverlauf konnte nicht geladen werden", fr "Impossible de charger l’historique des versions"). It has no next step and no Try again. The only way to retry is to close the dialog and open it again, and nothing says so.
The component has no refetch or retry path. Other failed reads offer Try again with a refetch: the Home lists, account teams and passkeys, the model endpoints page, governance competences, trash and the data-subject request drawer. Open PR #4301 adds the same for a failed website pages read.
Expected and observed
Expected: the failed state says what to do and offers Try again, which calls versionsQuery.refetch(), as the other failed reads do. Focus should stay usable while the retry runs.
Observed: a dead-end message.
Severity
Low (UX-CLARITY, REL-MANUAL on knowledge.documents): a transient failure while comparing versions leaves no recovery path inside the dialog.
Acceptance checks
A jsdom test fails the versions request, asserts a Try again control, then succeeds on retry and lists the versions.
Any new or changed strings ship in en, de and fr. de-CH needs an override only if the German text contains "ß".
Limits
Static: source and catalogs at mainba3f848a535d928637161be4053f150bd4d15f4c. The dialog wasn't opened live.
Left out on purpose: the Google Drive and OneDrive pickers also toast a terse "Couldn't load items" after their retries, but that behavior is deliberate and tested (cloud-import-dialogs.listing-failure.test.tsx), and opening the folder again retries it.
Dedupe: none of the 274 open items covers the version history dialog.
Found by TALE-358 Review A (product and experience: UX-CLARITY), occurrence 2026-10-08 20:15 Europe/Zurich, run fa7f7525-c949-4678-aa65-e8b384fc4b1f, during the oldest-due knowledge.* UX-CLARITY slice.
Addendum (Review A, TALE-358, 2026-10-12 20:15 Zurich occurrence): the History deep link fails the same way. mainc94f1fd84, services/platform/app/features/projects/components/project-files-tab.tsx.
?historyExternalItemId= (the one-shot link, used for example by Case Setup automations) resolves the document with useDocumentByExternalItemId (:368-371).
Once the lookup stops loading, any outcome without data, a failed read included, raises documents:history.notFound: "That file has no version history yet." (:458-462).
The effect then strips the search parameter (:465-475), so the link is consumed. Reloading the page can't retry it, and the person is told something false about their file.
Expected: only a successful lookup that finds nothing says "no version history". A failed lookup says it couldn't load and keeps the parameter, or offers Try again, until the read succeeds.
Regression: a files-tab test whose lookup rejects. No "no version history yet" toast, and the deep link survives. On c94f1fd84 the toast shows and the parameter is removed.
This is static reading, verified at the cited lines. I didn't run it.
Activity
yannickmonney commentedon Oct 12, 2026
Addendum (Review A, TALE-358, 2026-10-12 20:15 Zurich occurrence): the History deep link fails the same way.
mainc94f1fd84,services/platform/app/features/projects/components/project-files-tab.tsx.?historyExternalItemId=(the one-shot link, used for example by Case Setup automations) resolves the document withuseDocumentByExternalItemId(:368-371).documents:history.notFound: "That file has no version history yet." (:458-462).:465-475), so the link is consumed. Reloading the page can't retry it, and the person is told something false about their file.Expected: only a successful lookup that finds nothing says "no version history". A failed lookup says it couldn't load and keeps the parameter, or offers Try again, until the read succeeds.
Regression: a files-tab test whose lookup rejects. No "no version history yet" toast, and the deep link survives. On
c94f1fd84the toast shows and the parameter is removed.This is static reading, verified at the cited lines. I didn't run it.
fix(platform): offer Try again when a file's version history fails
fix(platform): keep the History link when its file lookup fails
docs(platform): say what a file's version history does when it fails
fix(platform): offer Try again when a file's version history fails
fix(platform): offer Try again when a file's version history fails