Kbase P84536: Dyn: Replace/concat Error when generating Client Cache for a large number of entities
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/06/2004 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.1A
SYMPTOM(s):
Generating Client Cache for a large number of entities
REPLACE/CONCAT may not result in data > 32000 bytes
Dynamics 2.1A02
CAUSE:
Known issue when Generating Client Cache for a large number of entities. Development aware.
The editor used for logging in Administration/Generate Client Cache has the
LARGE Attribute set to YES, however, it logs messages by doing the following in updateLog function:
hEditor:SCREEN-VALUE = hEditor:SCREEN-VALUE + cSomething
=> instead of using the INSERT-STRING() method.
FIX:
Change the code in ryclcstatusv.w/updateLog and in ryclcrunv.w/updateStatus to use the INSERT-STRING() method.
Example for ryclcstatusv.w/updateLog:
RETURNS LOGICAL
( INPUT pcLine AS CHARACTER ) :
/*------------------------------------------------------------------------------
Purpose:
Notes:
------------------------------------------------------------------------------*/
DO WITH FRAME {&FRAME-NAME}:
/* /* We don't want the editor blowing any limits */
IF LENGTH(edStatus:SCREEN-VALUE) > 30000 THEN
ASSIGN edStatus:SCREEN-VALUE = "":U.
IF edStatus:SCREEN-VALUE = "":U THEN
ASSIGN edStatus:SCREEN-VALUE = pcLine.
ELSE
ASSIGN edStatus:SCREEN-VALUE = edStatus:SCREEN-VALUE + CHR(10) + pcLine.*/
edStatus:INSERT-STRING(pcLine).
edStatus:INSERT-STRING("~n").
edStatus:MOVE-TO-EOF().
END.
RETURN TRUE. /* Function return value. */
END FUNCTION.