Activity completion does not correctly return in discussion created event

Activity completion does not correctly return in discussion created event

Dulitha Rajapaksha-mit -
Antal besvarelser: 1

I have a forum which has activity completion settings as below.



As per the image after posting the second discussion or reply the activity should get marked as completed. But when I am inside the discussion_created or post_created event, when submitting the second discussion or forum, I check the activity completion and it returns as 0. But when I am trying the same with the 3rd post it returns the activity as completed. Basically the activity completion gets marked as 1 only after the event has fired. Is there a way to get the correct activity completion inside the created event of discussion or post?

It should return 1 in the created event when I am posting my second post but it only returns 1 after the event of the second post has fired. Is there a way to get that correctly?

Gennemsnitsbedømmelse: -
I svar til Dulitha Rajapaksha

Re: Activity completion does not correctly return in discussion created event

lior gil-mit -
Core developers-ip assinga
So you want the completion to be set before the event is fired? Seems like a reasonable request.
Maybe you could open an issue about it in the tracker and see if it gets a response.