Skip to content

Updating transactional email Html-Part creates new draft version from another template #276

@descagb

Description

@descagb

Hi I'm facing an issue while trying to update html-part of a transactional email

Steps to reproduce

  1. Create a transactional email template by duplicating an existing one.
  2. Call PUT /template/5716835/detailcontent on the new template, passing html-part only
  3. The new template has no pending draft version

Id of problematic template: 5716835

Expected result

I should see a new entry in the template history, with no pending draft version.

Actual result

I do see a new entry in the history with the correct Html-Part, but also a draft was created from a completely unrelated template

Also deleting a draft from the website seems to be broken, and does not exist in the api...

--

Thanks a lot for your help !

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