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
Edit scheduled purchase fails with 'Failed to load plan details' (Planned 6.2) #773
Clicking the "Edit" button next to a scheduled purchase fails immediately with "Failed to load plan details".
Two issues here
Bug: the load itself fails. Find the network call (likely GET /api/plans/<id> or GET /api/purchase-executions/<id>/plan) and fix the 4xx/5xx that the frontend is surfacing.
Design question: should Edit on a scheduled purchase let the user edit the scheduled purchase (this one execution) or the entire plan it belongs to? Document the answer in this issue; current UI is ambiguous.
Acceptance (V1, just fix the load failure)
Clicking Edit on a scheduled purchase no longer shows "Failed to load plan details".
The modal opens with the plan details loaded.
Add a backend test for the failing endpoint case the bug uncovered.
Comment in this issue with the design question; do NOT silently change behavior beyond fixing the load.
Verified shipped: PR #780 (commit 3f56912, merged 2026-05-28) is in feat/multicloud-web-frontend. plans.ts Edit button now uses plan_id instead of purchase execution id so the plan details load correctly. Tests in plans.test.ts.
Activity
fix(planned-purchases): Edit button uses plan_id, not purchase id (#780)
cristim commentedon May 28, 2026
Verified shipped: PR #780 (commit 3f56912, merged 2026-05-28) is in feat/multicloud-web-frontend. plans.ts Edit button now uses plan_id instead of purchase execution id so the plan details load correctly. Tests in plans.test.ts.