dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

When viewing guestbook responses, there's always a Custom Questions column even when the guestbook never included custom questions

Open jggautier opened this issue 3 years ago • 1 comments

What steps does it take to reproduce the issue?

  • Create a Dataverse Collection
  • Create a guestbook in that collection that has no custom questions
  • Visit the collection's Manage Guestbooks page
  • Click View Responses for the guestbook you created and see that there's a column for custom questions
  • Create a dataset in that collection
  • Add a file to the dataset
  • Add the guestbook to that dataset
  • Publish the dataset
  • Download the file in the dataset
  • Visit the collection's Manage Guestbooks page again
  • Click View Responses for the guestbook you created and see that for the response that your download created, there's a column for custom questions
  • Go back to the Manage Guestbook page and click Download Responses
  • See that the CSV file includes a column for custom questions

When does this issue occur? When viewing the responses of a guestbook that has never included custom questions

Which page(s) does it occurs on? On the Manage Guestbook page and in the CSV file users get when they download the guestbook

What happens? The table on the page and in the CSV file includes a "Custom Questions" column, even when guestbook has never had a custom questions

To whom does it occur (all users, curators, superusers)? Curators, Dataverse Collection owners

What did you expect to happen? The "Custom Question" column appears only when the guestbook has or has had one or more custom questions

Which version of Dataverse are you using? v5.9

Any related open or closed issues to this bug report? https://github.com/IQSS/dataverse/issues/1730 (particularly this comment)

Screenshots:

Screen Shot 2022-03-08 at 3 53 34 PM

jggautier avatar Mar 08 '22 20:03 jggautier

Should this be attributed a UI/UX tag so this behavior may be corrected when implementing guestbooks in the SPA ? :)

DS-INRAE avatar Jul 01 '24 12:07 DS-INRAE