- Ya
- 9 Julai 2026, 06:04 UTC
- Mwandishi
- Kamo
- Ahadi ya
- cc26d7a
MailCredentials is cached in Redis (GenericJackson2Json). The added `isXoauth2()` boolean getter was serialized as a "xoauth2" property but has no field to read back into, so every cached-credential read threw UnrecognizedPropertyException -> SerializationException, 500ing listFolders for ALL providers (KamoMail + M365) — /messages stopped loading. Regression from the prior commit. - @JsonIgnore on isXoauth2()/secret() so the computed methods aren't serialized. - **************** so entries already cached with the stray "xoauth2" field deserialize cleanly (self-heals; no cache flush needed).