Skip to content

Dataverse displays to users information entered in certain compound fields in unexpected ways #12652

Description

@jggautier

When does this issue occur?
When viewing a dataset page with information entered in the child fields of certain compound fields, where the child fields also include "displayFormats" to control how the information is shown to users.

Which page(s) does it occurs on?
The dataset view pages in the JSF version of Harvard Dataverse and in the Modern UI version of Harvard Dataverse

What happens?
On the JSF version of Harvard Dataverse, the user:

  • Doesn't see the name of the parent field (such as "Geodetic Model")

  • Sees the information in the child fields displayed on separate lines

  • Sees the names of the child fields prepended to the information entered in the child fields, since "#NAME:" is included in those fields' displayFormats

    Image

On the Modern UI version of Harvard Dataverse, the user:

  • Doesn't see the name of the parent field (such as "Geodetic Model")

  • Sees the information in the child fields displayed on separate lines

  • Does not see the names of the child fields, even though "#NAME:" is included in those fields' displayFormats

    Image

To whom does it occur (all users, curators, superusers)?
All users who see the dataset page on the JSF and Modern UI versions of Harvard Dataverse

What did you expect to happen?
On the JSF and Modern UI versions of Harvard Dataverse, the user:

  • Sees the name of the parent field ("Geodetic Model")

  • Sees the information in the child fields displayed on the same line

  • Sees the names of the child fields prepended to the information entered in the child fields, since "#NAME:" is included in those fields' displayFormats

    Image

    This is how we expected Dataverse to show users this information when we were designing this part of the dataset page for datasets in the CIESIN collection. See Define and create CIESIN/SEDAC custom metadata block dataverse.harvard.edu#400 (comment).

    And this is how we expect Dataverse to display what users enter in the child fields of all compound fields where "#NAME:" is used to help users more easily understand the information.

Which version of Dataverse are you using?

  • The JSF version of Harvard Dataverse on v. 6.10.1 build iqss-4
  • The Modern UI version of Harvard Dataverse on v. 6.10.1 build iqss-4 | frontend version: 371cf9773

Any related open or closed issues to this bug report?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions