Skip to content

jtk issues update --description silently drops media nodes from the stored description #488

Description

@zzwong

jtk issues update --description builds a fresh ADF document from the input text and PUTs it, replacing the stored description wholesale. Any mediaSingle/mediaGroup nodes in the stored description — attached images — are silently deleted, with a green exit.

Expected: replacing the description text preserves the stored media nodes. The preservation requires reading the current description first; if that read fails, the command must fail closed — contextual error, no PUT — rather than fall back to writing a media-less replacement (a transient read failure must never delete media).

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions