Kbase P95222: READ-ONLY attribute ignored in a viewer in Dynamics 2.1a03
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  25/10/2004 |
|
Status: Unverified
FACT(s) (Environment):
Dynamics 2.1A
SYMPTOM(s):
Dynamics 2.1A03
READ-ONLY attribute ignored in a viewer
A widget is defined with the READ-ONLY attribute set in a viewer.
The widget it is not read only at run time when the viewer is enabled.
CHANGE:
Applied Service Pack 3 to Dynamics
CAUSE:
Known regression in 2.1A03, development aware. This was working in 2.1A02.
This problem is due to the fix for 20040603-004 (implemented in 2.1A03), which added this logic to the dynamic viewer's createObjects (in src\icf\ry\prc\rydynvcroi.i):
hField:READ-ONLY = IF hField:TYPE = "EDITOR":U THEN TRUE ELSE FALSE
FIX:
In src\icf\ry\prc\rydynvcroi.i, move the line mentioned above before the ASSIGN block and make it:
IF hField:TYPE = "EDITOR":U THEN hField:READ-ONLY = TRUE.
Recompile rydynviewp.p