Skip to content

Conversation

@provokateurin
Copy link
Member

Reverts part of #52544.
The database can still contain legacy scopes and when they are loaded, setScope will throw an error.
The migration needs to stay, as we don't save the migrated scopes back to the database.

@provokateurin provokateurin added this to the Nextcloud 32 milestone Aug 28, 2025
@provokateurin provokateurin requested a review from a team as a code owner August 28, 2025 11:25
@provokateurin provokateurin requested review from sorbaugh and yemkareems and removed request for a team August 28, 2025 11:25
@provokateurin provokateurin added the 3. to review Waiting for reviews label Aug 28, 2025
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably rather do a real migration as this will not be done if only read - meaning if there is no write it will stay there forever...

@provokateurin provokateurin force-pushed the fix/accounts/v2-scope-migration branch from 131235b to 53c1268 Compare August 28, 2025 11:30
@provokateurin
Copy link
Member Author

provokateurin commented Aug 28, 2025

A real migration would be quite expensive (since it needs to run for every user), but yeah I don't like this either.

@susnux
Copy link
Contributor

susnux commented Aug 28, 2025

A real migration would be quite expensive (since it needs to run for every user), but yeah I don't like this either.

We already did this for others

@provokateurin provokateurin merged commit f383db2 into master Aug 28, 2025
200 of 203 checks passed
@provokateurin provokateurin deleted the fix/accounts/v2-scope-migration branch August 28, 2025 12:07
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 28, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
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 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants