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

Backend property editor does not support language tags #3727

Closed
gneissone opened this issue Jul 1, 2022 · 2 comments
Closed

Backend property editor does not support language tags #3727

gneissone opened this issue Jul 1, 2022 · 2 comments

Comments

@gneissone
Copy link
Member

Describe the bug
As described here: vivo-project/Vitro#296 (review)
The backend property editor does not support language tags. In fact, it actively removes them.

To Reproduce
Steps to reproduce the behavior:
Add data via the frontend. Language tags are added.
Edit data via the backend, language tags are stripped away.

Expected behavior
Language tags should remain when edited.
Alternatively, the form should alert the user of the form's behavior.

Screenshots
See vivo-project/Vitro#296 (review)

@litvinovg
Copy link
Collaborator

It also removes all labels but one if you try to edit label with backend property editor.

@gneissone
Copy link
Member Author

Slight correction to my description; for labels it will add the en-US language tag no matter what the active locale is. It also deletes all other labels in other languages. For other properties, e.g. vivo:overview, it will remove the language tags.

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 a pull request may close this issue.

3 participants