Skip to content

Problem on ForumEvents : How can I hook a post just created ? #48

@gmelchilsen

Description

@gmelchilsen

Hi,

I need to do some custom checks before a save but I don't want to rewrite the workflow.
So I expected an event like "ForumEvents::USER_POST_CREATE_SUCCESS" but I can only found "ForumEvents::USER_TOPIC_REPLY_SUCCESS" where you use an "UserTopicEvent" so I can't hook the post I just create.
In the UserTopicEvent I have an array of posts but I don't have my new post in yet.

Do you have any issue for this ?
Could you help me please?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions