Skip to content

fix(theming): Do not throw in background color migration#50503

Merged
susnux merged 1 commit intomasterfrom
fix/theming-migration
Jan 30, 2025
Merged

fix(theming): Do not throw in background color migration#50503
susnux merged 1 commit intomasterfrom
fix/theming-migration

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented Jan 28, 2025

If some users already set up a custom background color than this does not work.
So we need to catch on those cases.

@susnux susnux added this to the Nextcloud 32 milestone Jan 28, 2025
@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Jan 28, 2025

/backport to stable31

@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Jan 28, 2025

/backport to stable30

Copy link
Copy Markdown
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

So it's fine to skip this migration?

@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Jan 28, 2025

So it's fine to skip this migration?

Yes and no - the users will complain that their theming is gone.

I pushed a fixup where you could see a proper fix, but that needs some hacking for MySQL due to its limitations (subquery table for select must not be the same as the update table, but with a third select it works).

@susnux susnux force-pushed the fix/theming-migration branch from cbb4a60 to eaa2e9b Compare January 28, 2025 18:43
@susnux susnux requested a review from provokateurin January 28, 2025 19:02
@susnux susnux force-pushed the fix/theming-migration branch from eaa2e9b to 321b65e Compare January 28, 2025 19:23
Comment thread apps/theming/lib/Migration/Version2006Date20240905111627.php Outdated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/theming-migration branch from e9e57fb to bf7dc2f Compare January 29, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants