Skip to content

fix: preserve view descriptions on scheme import - #2886

Open
xhon-pelushi wants to merge 1 commit into
nextcloud:mainfrom
xhon-pelushi:fix/import-view-descriptions-2478
Open

fix: preserve view descriptions on scheme import#2886
xhon-pelushi wants to merge 1 commit into
nextcloud:mainfrom
xhon-pelushi:fix/import-view-descriptions-2478

Conversation

@xhon-pelushi

Copy link
Copy Markdown

Summary

  • Preserve view descriptions when importing a table scheme via createFromScheme().
  • Treat empty-string descriptions as intentional updates in ViewUpdateInput, with unit coverage.

Fixes #2478

Test plan

  • Export a table with a view that has a description; import the scheme — view description should survive.
  • Empty view description still clears/updates as intended.
  • Run unit tests for ViewUpdateInput when PHP/Composer available.

Fixes nextcloud#2478

Signed-off-by: xhon-pelushi <xhon@pelushi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

descriptions of the views missing upon import

1 participant