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

[stable24] fix(dav): Name properties table columns explicitly #41775

Closed

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Nov 27, 2023

Summary

And ignore any optional columns. This allows instances to run the expensive query for the new column in 25 in the background, while keeping the 24 installation live.

TODO

  • Make changes
  • Test changes

Checklist

And ignore any optional columns. This allows instances to run the
expensive query for the new column in 25 in the background, while
keeping the 24 installation live.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added the 2. developing Work in progress label Nov 27, 2023
@ChristophWurst ChristophWurst changed the title fix(dav): Name properties table columns explicitly [stable24] fix(dav): Name properties table columns explicitly Nov 27, 2023
@juliusknorr
Copy link
Member

juliusknorr commented Nov 29, 2023

Looking at the usages more closely i think it should be safe to even run without this patch as we continue only using propertyname and propertyvalue so would not care about the extra column.

https://github.com/nextcloud/server/blob/fix/dav/explicit-properties-column-names/apps/dav/lib/DAV/CustomPropertiesBackend.php#L243
https://github.com/nextcloud/server/blob/fix/dav/explicit-properties-column-names/apps/dav/lib/DAV/CustomPropertiesBackend.php#L286

Insert is also fine as we have a default value on the column

@ChristophWurst
Copy link
Member Author

Good catch. That seems to be the case indeed!

@ChristophWurst
Copy link
Member Author

Obsolete

@ChristophWurst ChristophWurst deleted the fix/dav/explicit-properties-column-names branch February 21, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants