Vocabulary displayed-value
s aren't retrieved using the encoded stored-value
in submission form
#2724
Labels
bug
claimed: Atmire
Atmire team is working on this issue & will contribute back
component: submission
Milestone
Describe the bug
When a field that uses a vocabulary already contains a value (on page refresh or using item template), the
displayed-value
is retrieved by sending thestored-value
to the backend. The problem is that this value isn't encoded, which means that it sometimes can't retrieve the correctdisplayed-value
. This happens for example if yourstored-value
ends with a trailing slash.To Reproduce
Steps to reproduce the behavior:
value-pairs
to yoursubmission-forms.xml
:CC-BY-SA
and click saveExpected behavior
After refreshing the page you should still see
CC-BY-SA
in thedc.rights
field, but nowhttps://creativecommons.org/licenses/by-sa/4.0/
is being displayed insteadThe text was updated successfully, but these errors were encountered: