Opening a training from OciServe does not download it #2029
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck#2029
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem\n\nSelecting a training from the connected OciServe server does not open or download the training in OciDeck. The course list and sign-in flow are available, but the user cannot complete the core journey from server course to an opened local training.\n\n## Expected behaviour\n\nOciDeck downloads the selected training through its guarded network path, opens the returned deck, and reports a useful error without replacing the current deck when the server response is invalid.\n\n## Reproduction\n\n1. Connect OciDeck to OciServe.\n2. Sign in and choose an available training.\n3. Ask OciDeck to open the training.\n4. Observe that the training is not downloaded/opened.\n\n## Scope\n\nFix the existing OciServe training download/open journey and add a regression test. No file-format change or new dependency is intended.
Taken. Branch: codex/fix-server-training-download. Expected scope: the existing OciServe course client/opening flow and its regression tests; no file-format change or new dependency.
Opgelost in OciServe commit 4689c414400e4a66e1b4d677d08e17e07ecc600a via PR brenno/OciServe#508 (mergecommit e9adb652ec937235cfe3d000d61b041d0ba32ddb). De oorzaak zat server-side in historische blobmetadata: bestaande trainingen gebruiken de volledige hash als bestandsnaam en bevatten een regelafsluiting in de MIME-sidecar. OciServe leest beide historische kenmerken nu compatibel, terwijl nieuwe blobs uitsluitend de huidige indeling blijven gebruiken. Gecontroleerd met een regressietest en met alle vijf lessen van de getroffen training: ieder pakket downloadde met HTTP 200. Geen wijziging aan het OciDeck-bestandsformaat, geen clientwijziging en geen nieuwe afhankelijkheid.