Jump to content

Timeout Log MIssing Value Fix


This topic is 3427 days old. Please don't post here. Open a new topic instead.

Recommended Posts

If a commit log times out the timeout value is not written to the log entry for the timeout.

 

This is caused by the incorrect global variable name in the set field calculation for the EasyAudit::Note field In the "EasyAudit Commit - Server" script.

 

You can find this step towards the end of STEP 1 section of "EasyAudit Commit - Server".

 

To fix, change the step to the following (step in red, change in bold):

 

#
#If EA timed out waiting for changes to be committed to the database...
If [ $e > $$ea_timeout_seconds ]
#Log the timeout.
New Record/Request
Set Field By Name [ "EasyAudit::Transaction_ID"; $Transaction_ID ]
Set Field By Name [ "EasyAudit::Entry_Type"; "Timeout" ]
Set Field By Name [ "EasyAudit::Note"; "Timed out waiting for changes to be saved to database. Waited " & $$ea_timeout_seconds & " seconds, starting at " & $TS_Pre_Commit & "." ]
Commit Records/Requests
[ Skip data entry validation; No dialog ]
Exit Script [ ]
End If
Link to comment
Share on other sites

This topic is 3427 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.