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
Commit 8bab97e
Browse filesBrowse the repository at this point in the historyBrowse files
Katalog ucu canlıda boş dönüyordu. Sebep: `SiteGrantView.clientId` yabancı
anahtar, yani `oauth_clients.id`; ben onu metin `client_id` arayan
`getClientByClientId`'ye veriyordum. Sorgu hiçbir şey bulmuyor, null dönüyor
ve döngüdeki `continue` bunu "bu site eylem sunmuyor" diye yutuyordu — hata
hiçbir yerde görünmedi.
Asıl kusur yanlış çağrı değil, sessizliği. `getClientById` eklendi ve iki
çağrı düzeltildi.
Test ayrımı tutuyor: grant satır kimliğini taşımalı, satır kimliği metin
client_id olarak ARANAMAMALI. `getClientById`'yi yanlış sütuna bakacak şekilde
bozan mutasyon testi düşürüyor (24→23).
Bu hatayı birim testleri yakalayamazdı; yalnız canlıda uçtan uca deneyince
göründü ve o da ancak "200 döndü ama liste boş" diye bakınca.
0 commit comments