Skip to content

Confusing attachments when canceling a message edition #296

@brichet

Description

@brichet

Description

Editing a message allow to remove/add attachments to it.
Canceling the edition restore the message as it was before edition.

Although there appears to be no change in the message in the model, the widget displays the modified attachment after cancellation.

output.webm

Reproduce

Edit a message, update attachments, and cancel the edit. The attachments appear to have been updated, but reloading the page restores them.

Expected behavior

The attachments to be restored to their state prior to modification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions