Skip to content

[4.x]: Copy/paste erased all data from the draft entry #17766

@MargaritaBusyginaCa

Description

@MargaritaBusyginaCa

What happened?

Description

Hi, my team recently encountered a bug on drafts where copy/pasting a block erased all the other blocks in the entry. There was a lot of the data lost and because it was a draft, we couldn't go back to the previous revisions.
I tested the same functionality in other drafts and environments and couldn't reproduce the bug, so I am not sure why it happened.

Steps to reproduce

There is no way to reproduce this issue.

Expected behavior

The copied block gets pasted at the end of the draft entry.
In addition, I wonder if it would be possible to add a feature to have revisions for drafts, and not only the main version.

Actual behavior

All the blocks got deleted

Craft CMS version

4.15.0.2

PHP version

8.2.23

Operating system and version

Linux 6.10.14-linuxkit

Database type and version

MySQL 5.7.42

Image driver and version

Imagick 3.8.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

Neo | 4.4.1
Redactor | 3.1.0
Position Fieldtype | 4.0.0
Super Table | 3.0.15
Amazon S3 | 2.2.2
Audit | 3.0.3
Cookies | 4.0.1
Element API | 4.2.0
Feed Me | 5.11.0
Field Manager | 3.0.9
Google Tag Manager | 2.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions