Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Aug 19, 2025

Summary

#54165 introduced a migration that will crash if for a duplicated vcategory, there are objects associated to both ids.
This PR makes sure such lines are deleted from database before running the rest of the migration.

Checklist

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added this to the Nextcloud 32 milestone Aug 19, 2025
@come-nc come-nc self-assigned this Aug 19, 2025
@come-nc come-nc added the 2. developing Work in progress label Aug 19, 2025
@come-nc come-nc marked this pull request as ready for review August 21, 2025 07:27
@come-nc come-nc requested a review from a team as a code owner August 21, 2025 07:27
@come-nc come-nc requested review from ArtificialOwl, CarlSchwan and leftybournes and removed request for a team August 21, 2025 07:27
@come-nc come-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 21, 2025
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

@come-nc
Copy link
Contributor Author

come-nc commented Aug 21, 2025

/backport to stable31

@come-nc
Copy link
Contributor Author

come-nc commented Aug 21, 2025

/backport to stable30

@come-nc come-nc merged commit c88a5b4 into master Aug 21, 2025
217 of 221 checks passed
@come-nc come-nc deleted the fix/fix-duplicated-category-migration branch August 21, 2025 16:01
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 22, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Update to 30.0.14 / 31.0.8 database issue: Database error when running migration 31000Date20250731062008

6 participants