SuiteCRM-Core/public/legacy/include/CalendarSync/migrations/Services
Clemente Raposo 1c06022392 Re-retrieve OAuth connection after save to get decrypted fields
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
2026-04-28 23:35:38 +01:00
..
LegacyGoogleSyncMigrationService.php [Legacy] Add support for migrating meetings individually 2026-04-24 10:40:12 +01:00
MeetingMigrationService.php [Legacy] Add support for migrating meetings individually 2026-04-24 10:40:12 +01:00
MigrationRegistry.php Merge next into suite 8 2026-04-23 08:23:18 +01:00
ProviderMigrationService.php [Legacy] Add check for deleted on google provider 2026-04-24 15:01:35 +01:00
SchedulerMigrationService.php Merge next into suite 8 2026-04-23 08:23:18 +01:00
UserMigrationService.php Re-retrieve OAuth connection after save to get decrypted fields 2026-04-28 23:35:38 +01:00