What steps does it take to reproduce the issue?
-
Have a metadata block activated which contains at least one facetable field with a non-default displayFormat, e.g.
authorAffiliation in the citation block is facetable and has display format (#VALUE)
city in the geospatial block is facetable and has display format #VALUE,
-
Have a collection with that facet turned on
-
Create a dataset with a value in that facetable field
-
View the facets on the collection page, which look odd due to superfluous commas or parentheses:
-
city: 
(see here: https://demo.dataverse.org/dataverse/veratest)
-
authorAffiliation: 
-
The field topicClassification includes double parentheses, not sure why, but I think it might also be related:
(see here: https://demo.dataverse.org/)
Which version of Dataverse are you using?
v6.8 and v6.9
Any related open or closed issues to this bug report?
Did not find any open issues.
I think the bug was introduced by #11750 with this code change:
Are you thinking about creating a pull request for this issue?
Possibly yes
What steps does it take to reproduce the issue?
Have a metadata block activated which contains at least one facetable field with a non-default
displayFormat, e.g.authorAffiliationin the citation block is facetable and has display format(#VALUE)cityin the geospatial block is facetable and has display format#VALUE,Have a collection with that facet turned on
Create a dataset with a value in that facetable field
View the facets on the collection page, which look odd due to superfluous commas or parentheses:
city:(see here: https://demo.dataverse.org/dataverse/veratest)
authorAffiliation:The field
topicClassificationincludes double parentheses, not sure why, but I think it might also be related:(see here: https://demo.dataverse.org/)
Which version of Dataverse are you using?
v6.8 and v6.9
Any related open or closed issues to this bug report?
Did not find any open issues.
I think the bug was introduced by #11750 with this code change:
Are you thinking about creating a pull request for this issue?
Possibly yes