diff --git a/docs/test-bugs.md b/docs/test-bugs.md index 31d4e29..6fba929 100644 --- a/docs/test-bugs.md +++ b/docs/test-bugs.md @@ -272,3 +272,97 @@ Jeder Bug wird wie folgt dokumentiert: - **Schweregrad:** Low - **Ursache:** DB-Spalte hat VARCHAR Limit, Contact wird nicht erstellt oder gibt Fehler - **Status:** ⏳ Nicht gefixt — sollte 422 mit klarer Fehlermeldung geben statt still zu fehlschlagen + +### BUG-027: Mail Senden — falscher API-Pfad +- **Kategorie:** API / Doku +- **Modul:** Mail +- **Endpoint:** POST /api/v1/mail/messages (Test) vs POST /api/v1/mail/send (tatsächlich) +- **Schweregrad:** Low +- **Ursache:** Test-Pfad falsch, tatsächliche Route ist /mail/send +- **Status:** ⏳ Doku/Test korrigieren + +### BUG-028: Calendar Entry — entry_type ist required +- **Kategorie:** API / Validierung +- **Modul:** Calendar +- **Endpoint:** POST /api/v1/calendar/entries +- **Schweregrad:** Low +- **Ursache:** entry_type Pflichtfeld fehlt im Test +- **Status:** ⏳ Test korrigieren + +### BUG-029: Notifications — PATCH /{id} gibt 405, korrekt ist /{id}/read +- **Kategorie:** API / Doku +- **Modul:** Notifications +- **Schweregrad:** Low +- **Ursache:** Test-Pfad falsch, korrekt ist PATCH /{id}/read +- **Status:** ⏳ Test korrigieren + +### BUG-030: User DELETE gibt 500 Internal Server Error +- **Kategorie:** API +- **Modul:** Users +- **Endpoint:** DELETE /api/v1/users/{id} +- **Erwartet:** 204 No Content +- **Tatsächlich:** 500 Internal Server Error +- **Status Code:** 500 +- **Response:** `{"code":"internal_error","detail":"Internal server error","trace_id":"2454d717"}` +- **Schweregrad:** High +- **Ursache:** Unbekannt — muss Backend-Log prüfen +- **Status:** ⏳ Nicht gefixt + +### BUG-031: Role/Group — PUT gibt 405, korrekt ist PATCH +- **Kategorie:** API / Doku +- **Modul:** Roles, Groups +- **Schweregrad:** Low +- **Ursache:** Test verwendet PUT, korrekt ist PATCH +- **Status:** ⏳ Test korrigieren + +### BUG-032: Custom Field — name ist required nicht field_name +- **Kategorie:** API / Doku +- **Modul:** Custom Fields +- **Schweregrad:** Low +- **Ursache:** Test verwendet field_name, korrekt ist name +- **Status:** ⏳ Test korrigieren + +### BUG-033: Entity Permissions — Prefix ist /api/v1/permissions nicht /api/v1/entity-permissions +- **Kategorie:** API / Doku +- **Modul:** Entity Permissions +- **Schweregrad:** Low +- **Ursache:** Test-Pfad falsch, korrekt ist /api/v1/permissions/{entity_type}/{entity_id} +- **Status:** ⏳ Test korrigieren + +### BUG-034: System Settings — company_name ist required +- **Kategorie:** API / Doku +- **Modul:** System Settings +- **Schweregrad:** Low +- **Ursache:** Test sendet {settings:{...}}, korrekt ist {company_name:...} +- **Status:** ⏳ Test korrigieren + +### BUG-035: User Preferences — Prefix ist /api/v1/user/preferences nicht /api/v1/users/preferences +- **Kategorie:** API / Doku +- **Modul:** User Preferences +- **Schweregrad:** Low +- **Ursache:** Test-Pfad falsch +- **Status:** ⏳ Test korrigieren + +### BUG-036: Workflow Instances GET gibt 500 Internal Server Error +- **Kategorie:** API +- **Modul:** Workflows +- **Endpoint:** GET /api/v1/workflows/instances +- **Erwartet:** 200 mit Instance-Liste +- **Tatsächlich:** 500 Internal Server Error +- **Status Code:** 500 +- **Response:** `{"code":"internal_error","detail":"Internal server error","trace_id":"bbdf0698"}` +- **Schweregrad:** High +- **Ursache:** Unbekannt — muss Backend-Log prüfen +- **Status:** ⏳ Nicht gefixt + +### BUG-037: Compliance Incident POST gibt 500 Internal Server Error +- **Kategorie:** API +- **Modul:** Compliance +- **Endpoint:** POST /api/v1/compliance/incidents +- **Erwartet:** 201 Created +- **Tatsächlich:** 500 Internal Server Error +- **Status Code:** 500 +- **Response:** `{"code":"internal_error","detail":"Internal server error","trace_id":"f6e8eb4d"}` +- **Schweregrad:** High +- **Ursache:** Unbekannt — muss Backend-Log prüfen +- **Status:** ⏳ Nicht gefixt