What happened?
Description
Editing an disabled entry with Live Preview will enable the entry despite the way of closing the preview (X or Save). That said, if I want to edit any entry before publishing it the entry will published as soon I would close the preview. This occurs on different projects using Craft CMS.
Steps to reproduce
- Create a new entry with
disabled as default state.
- Open the
Preview and edit something.
- Close the preview by clicking the X icon or
Save button.
- Reload the entry without saving it (auto save)
- See the entry in a
enabled state.
Expected behavior
While working in the Live Preview the CMS should respect the entry status as long I am not chaning it manually.
Actual behavior
The entry status changes as soon I am leaving the Live Preview, despite the desired status.
Craft CMS version
6.4.1 and prior
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
Editing an disabled entry with Live Preview will enable the entry despite the way of closing the preview (X or
Save). That said, if I want to edit any entry before publishing it the entry will published as soon I would close the preview. This occurs on different projects using Craft CMS.Steps to reproduce
disabledas default state.Previewand edit something.Savebutton.enabledstate.Expected behavior
While working in the Live Preview the CMS should respect the entry status as long I am not chaning it manually.
Actual behavior
The entry status changes as soon I am leaving the Live Preview, despite the desired status.
Craft CMS version
6.4.1 and prior
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions