Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(user_ldap): Ignore unserialize error in group membership migration #43764

Merged

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Feb 22, 2024

Summary

The memberships will be checked by the background job later and data will be added to the table anyway.
This avoids blocking migration when there is invalid data in the ldap_group_members table, whatever the reason.

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Feb 22, 2024
@come-nc come-nc added this to the Nextcloud 29 milestone Feb 22, 2024
@come-nc come-nc self-assigned this Feb 22, 2024
@come-nc come-nc force-pushed the fix/user_ldap-ignore-unserialize-errors-in-migration branch from 0e53304 to 301e23b Compare March 5, 2024 12:02
@come-nc come-nc requested review from a team, ArtificialOwl, icewind1991 and Fenn-CS and removed request for a team March 5, 2024 12:02
@come-nc
Copy link
Contributor Author

come-nc commented Mar 5, 2024

/backport to stable28

The memberships will be checked by the background job later and data
 will be added to the table anyway.

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc come-nc force-pushed the fix/user_ldap-ignore-unserialize-errors-in-migration branch from 301e23b to 875d0a2 Compare March 6, 2024 09:18
@come-nc come-nc merged commit 827269f into master Mar 6, 2024
160 checks passed
@come-nc come-nc deleted the fix/user_ldap-ignore-unserialize-errors-in-migration branch March 6, 2024 12:04
@blizzz blizzz mentioned this pull request Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: LDAP migration failing NC27->NC28 involving ldap_group_members table
3 participants