Fix Vehicle Creation Endpoint Mismatch #141

Closed
opened 2026-03-26 09:08:35 +01:00 by kincses · 1 comment
Owner

Objective: Fix the vehicle creation endpoint mismatch where frontend calls (404) but backend provides .

Target Files:

  • Frontend: ,
  • Backend: Either create redirect endpoint at or update frontend to use

Acceptance Criteria:

  1. POST request to vehicle creation endpoint returns 200 OK with proper vehicle data
  2. 2-step creation flow works (Draft → Active)
  3. Frontend components successfully add vehicles to user's garage
  4. No mock data - must use real database tables

Execution Steps:

  1. Check current backend endpoints in
  2. Update frontend API calls in the mentioned Vue files
  3. Test the complete flow: user adds vehicle → appears in garage
  4. Verify database records in table

Technical Details:

  • The mismatch is a P0 blocker preventing core functionality
  • Estimated effort: 4 hours
  • Dependencies: None
**Objective:** Fix the vehicle creation endpoint mismatch where frontend calls (404) but backend provides . **Target Files:** - Frontend: , - Backend: Either create redirect endpoint at or update frontend to use **Acceptance Criteria:** 1. POST request to vehicle creation endpoint returns 200 OK with proper vehicle data 2. 2-step creation flow works (Draft → Active) 3. Frontend components successfully add vehicles to user's garage 4. No mock data - must use real database tables **Execution Steps:** 1. Check current backend endpoints in 2. Update frontend API calls in the mentioned Vue files 3. Test the complete flow: user adds vehicle → appears in garage 4. Verify database records in table **Technical Details:** - The mismatch is a P0 blocker preventing core functionality - Estimated effort: 4 hours - Dependencies: None
kincses added this to the Phase 1: Core Functionality Fixes milestone 2026-03-26 09:08:35 +01:00
kincses added the Status: To DoScope: BackendScope: FrontendType: Bug labels 2026-03-26 09:08:35 +01:00
kincses added Status: Done and removed Status: To Do labels 2026-03-26 09:55:00 +01:00
Author
Owner

Munka befejezve: 2026-03-26 08:55:00

Technikai Összefoglaló:
Fixed frontend vehicle creation endpoint mismatch. Changed AddVehicle.vue to call /api/v1/assets/vehicles with correct payload (vin: null for draft mode).

⏱️ A ráfordított időt a Gitea rögzítette.

✅ **Munka befejezve:** 2026-03-26 08:55:00 **Technikai Összefoglaló:** Fixed frontend vehicle creation endpoint mismatch. Changed AddVehicle.vue to call /api/v1/assets/vehicles with correct payload (vin: null for draft mode). ⏱️ *A ráfordított időt a Gitea rögzítette.*
Sign in to join this conversation.