I am new with umbraco 8 and tried to creating a Component to listen for ContentService.Saving event.
Component implemented and works fine but i faced a wired issue. after validations fired and appeared on backoffice, new value still cached untill restart application pool.
Example:
I created a document type event, with title and thumbnail.
I saved event with title = event 2
I developed and subscribed component for ContentService.Saving event.
I got back to backoffice and changed event title to be event 123 and tried to save, validation fires but i found that after refresh the page event title still event 123.
If i restarted application pool, will remove cached data and and will find event title = event 2 again.
Umbraco 8 Server-side validation - ContentService Events Handler
Dears,
I am new with umbraco 8 and tried to creating a Component to listen for ContentService.Saving event. Component implemented and works fine but i faced a wired issue. after validations fired and appeared on backoffice, new value still cached untill restart application pool.
Example:
Thanks in advance
Hi,
I'm experiencing exactly the same. Did you find a solution or have you reported this in the Umbraco issue tracker?
For future reference.
I reported the issue but got the response that this is by design: https://github.com/umbraco/Umbraco-CMS/issues/8417
That's just wrong in my option.
If a saving event is cancelled, the data should not be apllied, after you leave the document unchanged.
FYI: The issue has been reopened.
is working on a reply...