Bug #10442
FILL-IN for Decimal Variable: Issues with Screen Value Display
Status:
Rejected
Priority:
Normal
Assignee:
Vladimir Tsichevski
Target version:
-
Start date:
Due date:
% Done:
100%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
16119
version_resolved:
Related issues
History
#1 Updated by Vladimir Tsichevski 11 months ago
Run the following example in either GUI or CHARACTER mode
DEFINE VARIABLE v AS DECIMAL FORMAT "abc->>,>>9.99<<<<qwe abc". DEFINE FRAME f v. ENABLE ALL WITH FRAME f. v:SCREEN-VALUE IN FRAME f = "10345.67". WAIT-FOR CLOSE OF FRAME f.
Observed Behavior¶
- In OE, the value
abc10,345.67qwe abcis displayed correctly. - In FWD, an error message is raised:
** Value 1034567 cannot be displayed using ->>>>9.99<<<<. (74).
Identified Issues¶
- The input value
10345.67conforms to the specified formatabc->>,>>9.99<<<<qwe abc, so it should display successfully without errors. - The value referenced in the error message (
1034567) differs from the original input (10345.67). - The format cited in the error message (
->>>>9.99<<<<) does not match the original format (abc->>,>>9.99<<<<qwe abc), which is unexpected; error messages should consistently reference the original format.
#2 Updated by Vladimir Tsichevski 11 months ago
- Related to Bug #10075: Number format validation issues added