Hello
Please check your application error handling. And server logs.
You have error during execution some previous command in this transaction, even if your application hide this.
Postgresql ignore all commands (except rollback) if transaction was aborted. This is not bug.
regards, Sergei