Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Jun 24, 2025

Previous version of nextcloud/dialogs resulted in array instead of string in some config values. Add a migration to fix those.
The bug itself was already fix when nextcloud/dialogs was upgraded to 6.3.0. This fixes the database values for users which used the broken version.

The migration is not needed on master as it’s a one-time fix and Nextcloud always upgrade to latest minor first before upgrade to a new major.

@come-nc come-nc added this to the Nextcloud 31.0.7 milestone Jun 24, 2025
@come-nc come-nc self-assigned this Jun 24, 2025
@come-nc come-nc requested review from artonge and skjnldsv as code owners June 24, 2025 09:29
@come-nc come-nc added the 3. to review Waiting for reviews label Jun 24, 2025
Previous version of nextcloud/dialogs resulted in array instead of
 string in some config values. Add a migration to fix those.

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc come-nc force-pushed the fix/fix-incorrect-configvalue branch from 6230266 to 5f336b1 Compare June 24, 2025 09:36
For a reason I do not understand the CI upgrades the coding standard to
 latest version before running, let’s apply it.

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc
Copy link
Contributor Author

come-nc commented Jun 24, 2025

I do not understand why in CI php-cs runs > [ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi, it’s supposed to be a post-update command and no update is run 🤷
Rather than losing time on this I simply applied the newest coding-standard as it’s backward compatible.

@come-nc come-nc requested review from nickvergessen and removed request for artonge and skjnldsv June 24, 2025 09:54
@nickvergessen
Copy link
Member

I do not understand why in CI php-cs runs > [ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi, it’s supposed to be a post-update command and no update is

https://github.com/nextcloud/photos/blob/master/composer.json#L33
You can adjust that like we did in many other apps to simply only do an install:
https://github.com/nextcloud/spreed/blob/main/composer.json#L35

@come-nc come-nc requested a review from skjnldsv June 24, 2025 14:04
@skjnldsv skjnldsv merged commit a1345cd into stable31 Jul 1, 2025
49 of 50 checks passed
@skjnldsv skjnldsv deleted the fix/fix-incorrect-configvalue branch July 1, 2025 07:13
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.

5 participants