[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: New to working with DOH

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
What version are you using? There was a bug (or two) fixed in the next 11.7.x and 12.x versions relating to error handling from the DOH. It looks like OCTA-19471 (DOH's OnLoadEntity event doesn't throw errors from events) is the one you're running into, although there's a chance it was OCTA-19465 (DOH does not treat SendExceptionErrors same as other errors in PerformOperation). In currently-available versions, there are basically 3 cases where a 500 is returned to the client - A SendExceptionError is raised somewhere in the PerformOperation method (which is the code that starts the 'business entities' , runs the operation in them, and stops them). - Some error is raised in the error handling code (in the OperationError event handlers and/or the DOH's HandleException code) - Some code has set one of the event args' ReturnStatusCode propery to 500 There logging for each of those cases, but at a guess I'd say you running into the second one. Does anything change if you re-throw 'err' from this block? catch err as Progress.Lang.Error: assign poEventArgs:Error = err. oLogger:Error(substitute("INVOKING - &1: &2", poEventArgs:Operation:TargetName, err:GetMessage(1))). end catch. It may be worth contacting TS , especially if that doesn't work. At the very least we can verify that the fixes for those bugs solve your problem.

Continue reading...
 
Status
Not open for further replies.
Back
Top