User tests: Successful: Unsuccessful:
Ref #647. Th problem was in insertid() that was returning the incorrect id, because last insert is going to activities table. This PR should fix it as it uses issue_id from the issue model state.
insertid()
issue_id
@mbabker take a look please
Thank you thank you @b2z and @mbabker It works now!
@mbabker take a look please