read_reference/options: inconsistent 'value' semantics and mojibake in language names #20
Notifications
Due Date
No due date set.
Blocks
Reference: gronod/ombi-mcp#20
Reference in New Issue
Block a user
Summary
Reference projections (
read_referenceandread_integrationoptions) emit an inconsistentvaluefield — sometimes the numeric id, sometimes the display name, sometimes an unrelated field (logo path, boolean) — andlanguagesshows character-encoding corruption ("??????").Environment
develop@d047d76Reproduction
Expected
valueholds a stable, typed meaning per category (e.g. the upstream id or the display value), and non-ASCII names decode correctly.Actual
valuefalls back across heterogeneous fields: numeric id, name string,logoPath, even a boolean — so consumers can't rely on its type or semantics.languagesitem for Kirghiz showsname: "??????"— upstream mojibake passed through (likely upstream charset loss; noted for completeness).Cause
refOfpicks the first present candidate from[]string{"value"}-style fallback lists; when upstream lacks the preferred field an arbitrary sibling leaks intovalue. The mojibake is likely upstream data, but the tool should arguably not emit??????silently.Correlation IDs
992602f2752d576a73cc778a(watch_providers),0a66e063115859a57f50d178(radarr profiles),f514f879938a27b3e3e7b200(countries OK), plus genres/languages sweep calls