Skip to content

API for Updating File Categories and tabular tags are not updated correctly #11292

@ChengShi-1

Description

@ChengShi-1

What steps does it take to reproduce the issue?

  • When does this issue occur?
    Files edit metadata option

  • Which page(s) does it occurs on?
    File page

  • What happens?
    the api could only add tags and categories, instead of edit(like remove or replace).
    For example, if the original tag is tag1, after posting ...files/{fileId}/metadata/tabularTags with json data {tabularTags: ['tag2']}, then the tags will become [tag1, tag2]. The correct one would be tag2 only

  • To whom does it occur (all users, curators, superusers)?
    Api users

  • What did you expect to happen?
    Successfully update to the input json data

Which version of Dataverse are you using?
Native api

Any related open or closed issues to this bug report?
IQSS/dataverse-client-javascript#257

Metadata

Metadata

Assignees

No one assigned

    Labels

    FY25 Sprint 19FY25 Sprint 19 (2025-03-12 - 2025-03-26)Original size: 10SPAThese changes are required for the Dataverse SPASize: 10A percentage of a sprint. 7 hours.Type: Buga defect

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions