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

Column default values are wiped when importing documents through TemplateSelector dialog #761

Closed
Remi749 opened this issue Aug 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Remi749
Copy link
Collaborator

Remi749 commented Aug 29, 2022

Describe the bug
This is not to be confused with the default values that can be directly set to SiteFields for a document library. This is the Default column values that can be set on the library for folders or subfolders: "Document library settings > Column default value settings".

When importing a document through the TemplateSelector library command, the values are set and seems to work as intended. When trying to edit a value through the list dialog and saving that change, the columns that had default values are wiped, this can also be seen in the version log (see image below). Default values set directly to SiteFields are not wiped.

image

Example of default values set on the library:
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to a document library
  2. Add default values to columns "Document library settings > Column default value settings"
  3. Import document through the TemplateSelector library command
  4. Edit values through list dialog
  5. Witness bug

Expected behavior
Default values should not be wiped. The bug probably has to do with the way we create the document through the TemplateSelector.

About your setup

  • Browser: Chrome
  • Installed version: any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants