Skip to content

Inconsistent ETag handling in postBundleContents and deleteContentItem #79

Description

@zerolab

Adding a dataset to a bundle updates the bundle ETag and that is returned in the response

bundleUpdate, err := api.stateMachineBundleAPI.UpdateBundleETag(ctx, bundleID, authEntityData.GetUserEmail())

dpresponse.SetETag(w, bundleUpdate.ETag)

Deleting a content item (i.e. dataset) from a bundle does't seem to update its ETag at all

w.WriteHeader(http.StatusNoContent)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions