Skip to content

ValidatingAsync & ValidatedAsync not raised during the content creationg #18476

@hishamco

Description

@hishamco

What I notice is that when I create or publish content item(s), both ValidatingAsync & ValidatedAsync are not triggered, which is weird from the user perspective, because OC already did validate the fields

Why are these sorts of events called once you call ContentManager.ValidateAsync()? What if I want to intercept the content creation and do some validation?!!

I did a workaround by cancelling the process on publishing if the validation goes wrong

@Piedone @BenedekFarkas, is this by design while you are still managing some Orchard apps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions