Skip to content

Error when trying to replace a file through web interface #11976

@bjosel

Description

@bjosel

What steps does it take to reproduce the issue?

  1. Replace a .txt file via the browser
  2. Drag-n-drop or select the new file to replace the old file.
  • When does this issue occur?
    When trying to replace a file through the Dataverse web interface. Tested on various file formats (text, pdf, picture)

  • Which page(s) does it occurs on?
    dataset.xhtml, editdatafiles.xhtml

  • What happens?
    An error is shown "You cannot add Tabular Data Tags to a non-tabular file" and file replacement is stopped

  • To whom does it occur (all users, curators, superusers)?
    all users (tested with superuser, researcher, admin)

  • What did you expect to happen?
    The file should be replaced successfully

Which version of Dataverse are you using?
v6.8

Any related open or closed issues to this bug report?
Maybe #11972 (wild guess due to the error message mentioning tags)

Screenshots:

Image

Are you thinking about creating a pull request for this issue?
We are looking into it but haven't identified nor fixed the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: JSFInvolves modifying JSF (Jakarta Server Faces) code, which is being replaced with React.Size: 3A percentage of a sprint. 2.1 hours.Type: Buga defect

    Type

    Projects

    Status

    SPRINT READY

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions