Story can be published without required fields

When creating a new Story but then leaving the story editor (alert is showing up --> “yes” discard changes), the Story object is saved nevertheless.

Afterwards it’s possible to publish that item even it does not satisfy its components fields restrictions.

Hello Simon,

can you give us more information about the used browser version and a link from the browsers address field to an example story, please?
I’ve tried to reproduce this with Firefox 79.0 (64-bit) on MacOS and Chrome Version 84.0.4147.125 on MacOS but the story doesn’t save when leaving the story and discarding to save the changes.

Have you used the publish function inside of the item view?

With best regards
Hannes

I’ve taken a look at the video you’ve sent to us. There was already a ticket on Github which reported this issue:

Unfortunately at the moment there is no other solution to this than using the workflow feature to prevent that this can be done:
https://www.storyblok.com/docs/workflows