mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2026-07-26 22:39:11 +08:00
SugarBean::save() mutates db_encrypted fields in-place via encrpyt_before_save(), leaving access_token and refresh_token in encrypted state on the bean. validateAndRefreshOAuthConnection then reads the encrypted refresh_token and sends it to Google, causing refresh to fail. Use getReloadedBean to bypass the BeanFactory cache and trigger decrypt_after_retrieve on a fresh instance. Sanitize legacy user full_name during Google Calendar sync migration |
||
|---|---|---|
| .. | ||
| application | ||
| domain | ||
| Extension/CalendarProviders | ||
| infrastructure | ||
| migrations | ||
| .gitignore | ||
| CalendarSync.php | ||
| CalendarSyncInterface.php | ||