Kbase 20955: Error 8590 Occurs After Migration from Version 8.x to 9.x
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
Progress 8.x
SYMPTOM(s):
Error when migrating from Progress 8 to version 9
Ignoring extra argument(s) of <attribute> for <widget id> that is of <LIST-ITEMS> type. (8590)
SmartWindow that contains a combo-box with the following code in the initialize procedure fails to run in Progress 9.x and generates an 8590 error message.
Progress 8.x initialized procedure
/* Code for initialize procedure after the run dispatch .... */
for each customer:
combo-box-1:add-last(string(cust-num), name).
end.
CAUSE:
Progress 9.x introduces more options for the SmartCombo widget in the properties sheet of the SmartObject, LIST-ITEM and LIST-ITEM-PAIRS.
You encounter the error if you run your code that sends two arguments in the ADD-LAST method without changing in the property of the combo-widget to LIST-ITEM-PAIRS.
FIX:
Make sure you toggle LIST-ITEM-PAIRS. The LIST-ITEMS option of the combo-box phrase requires a list of items (possibly quoted, depending on the combo-box data type) such as ("a", "b", "c"), where the LIST-ITEMS attribute of a combo-box requires a quoted list of items, such as ("a, b, c").
Similarly, the LIST-ITEM-PAIRS option of the combo-box phrase requires a list of items (possibly quoted, depending on the combo-box data type) such as ("a", 1, "b", 2, "c", 3), where the LIST-ITEM-PAIRS attribute of a combo-box requires a quoted list of items, such as
("a, 1, b, 2, c, 3").
The LIST-ITEM-PAIRS item-pair-list specifies a list of label-value pairs. Each pair represents a label and value of the associated field or variable. When the selection-list appears, it displays each pair's label. If you select
a label, Progress assigns the corresponding value to the field or variable.