Kbase P5592: LEAVE trigger not fired if WAIT-FOR is using the PAUSE option
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/11/2004 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
The LEAVE trigger is not fired
WAIT-FOR ends
CHANGE:
The WAIT-FOR statement uses the PAUSE option
CAUSE:
This is a known issue. The LEAVE trigger of the focused widget will not fire when the waited event of the WAIT-FOR occurs, if the WAIT-FOR uses the PAUSE option, and vice versa - LEAVE fires if the PAUSE option is not used.
FIX:
If the expected behavior is to not fire the LEAVE, then put the WAIT-FOR in a DO WHILE LogicalFlag loop and use the PAUSE option in that WAIT-FOR. For further information about this topic, please refer to Progress Solution P17806 "Why LEAVE trigger data validation is a bad idea"