Kbase P118961: 4GL/ABL: CURRENT-LANGUAGE change fails with persistent procedures
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/21/2008 |
|
Status: Unverified
SYMPTOM(s):
4GL/ABL: CURRENT-LANGUAGE change fails with persistent procedures
Changing CURRENT-LANGUAGE and then running a persistent procedure, the persistent procedure does not always use the new language.
For example, a persistent child procedure has a English and German text segment. The following code fails to use the German text segment in this procedure at all:
DEF VAR hProc AS HANDLE.
CURRENT-LANGUAGE = ?.
/* This should (and does) use the "English" text segment */
RUN tranman\progs\pEnglish.w PERSISTENT SET hProc.
MESSAGE CURRENT-LANGUAGE SKIP
VALID-HANDLE(hProc) SKIP
hProc:PERSISTENT
VIEW-AS ALERT-BOX INFO BUTTONS OK.
/* Second Workaround: Reverse the order of the following two statements */
CURRENT-LANGUAGE = "German".
DELETE PROCEDURE hProc.
/* First Workaround: Uncomment the following statement */
/* CURRENT-LANGUAGE = CURRENT-LANGUAGE. */
/* This should (but doesn't) use the "German" text segment */
RUN tranman\progs\pEnglish.w PERSISTENT SET hProc.
FACT(s) (Environment):
OpenEdge 10.1x
All Supported Operating Systems
CAUSE:
Bug# OE00132761
FIX:
None at this time.
As a workaround, either:
1. Uncomment the statement CURRENT-LANGUAGE = CURRENT-LANGUAGE.
Or
2. Execute the statement: DELETE PROCEDURE hProc. before the CURRENT-LANGUAGE = "German". statement.