APAR status
Closed as program error.
Error description
= chooseDrink, options =['soda', 'tea'], selected = 'soda'}; function chooseDrink(e Event in) syslib.writeStdout('chooseDrink selected-?' + RadioGroup.selected + '?-'); case when(RadioGroup.selected == 'soda') syslib.writeStdout('selected: soda'); when(RadioGroup.selected == 'tea') syslib.writeStdout('selected: tea'); otherwise syslib.writeStdout('selected something different-?' + RadioGroup.selected + '?-'); end end end Either at runtime or in preview mode selecting 'tea' produces the following output: chooseDrink selected-?tea?- selected something different-?tea?- Even though the Strings are equal the result of the comparison operation is not equal. Running with the debugger the returned selected value shown in the variables view is preceded by a hex value 3F( a square symbol). This character does not show on screen at runtime or in preview mode but it is this symbol which causes any string comparison to fail.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** User Affected: Users of RBD 8.0.1 using DojoRadioGroup Problem Description: String comparison of DojoRadioGroup.selected and a constant string always returns false, even if the string value is the same.
Problem conclusion
Resolved this problem. String comparison of DojoRadioGroup.selected and a constant string if they are the same value.
Temporary fix
Comments
APAR Information
APAR number
PM29334
Reported component name
RATL BUS DEV
Reported component ID
5724S5000
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-12-21
Closed date
2011-03-31
Last modified date
2011-03-31
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL BUS DEV
Fixed component ID
5724S5000
Applicable component levels
R801 PSN
UP
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
31 March 2011