Describe the bug
The event is saved to database even though it is not successfully created. It can lead some problems when the platform is back, there should not be manual manipulation of database.
To Reproduce
Call create event with some parameters which is actually not present. Anything which causes the platform to crash.
Expected behavior
The platform should handle this issue, like when there is a problem of creating event, all changes (if any) should be reverted.
Describe the bug The event is saved to database even though it is not successfully created. It can lead some problems when the platform is back, there should not be manual manipulation of database.
To Reproduce Call create event with some parameters which is actually not present. Anything which causes the platform to crash.
Expected behavior
The platform should handle this issue, like when there is a problem of creating event, all changes (if any) should be reverted.
Preliminary check is required