Hi
Would be happy to but, actually, I have done a little more digging around on this.
I had code in the hooks manager for 'ft_update_submission, start' and 'end'. When ft_update_submission was called by edit_submission.php thus
the variables $g_success and $g_message were being returned as NULLs. This then resulted in the $failed_validation being true. This was irrespective of the failure or success of my code.
Now although my code was actually working, there are two override variables in the hook manager... $success and $message which I was not manipulating. They were defaulting to NULL.
So I don't think this is a bug per se but rather my misunderstanding that there was a requirement for $success and $message to be set to true by the code in the hook??
Would be happy to but, actually, I have done a little more digging around on this.
I had code in the hooks manager for 'ft_update_submission, start' and 'end'. When ft_update_submission was called by edit_submission.php thus
Code:
list($g_success, $g_message) = ft_update_submission($form_id, $submission_id, $request);
Now although my code was actually working, there are two override variables in the hook manager... $success and $message which I was not manipulating. They were defaulting to NULL.
So I don't think this is a bug per se but rather my misunderstanding that there was a requirement for $success and $message to be set to true by the code in the hook??