[OPENAM-4968] LoginViewBean does not correctly handle ChoiceCallbacks with attribute 'multipleSelectionsAllowed="true"' Created: 12/Nov/14  Updated: 05/Dec/16  Resolved: 05/Apr/16

Status: Resolved
Project: OpenAM
Component/s: authentication
Affects Version/s: 10.0.0-EA, 10.0.0, 10.0.1, 10.1.0-Xpress, 10.0.2, 11.0.0, 11.0.1, 11.0.2, 12.0.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Bernhard Thalmayr Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by OPENAM-6056 LoginViewBean does not correctly hand... Resolved
Relates
is related to OPENAM-4959 Login.jsp always renders radio button... Resolved
Support Ticket IDs:

 Description   

Create login module with a ChoiceCallback XML, e.g.

        <ChoiceCallback multipleSelectionsAllowed="true">
            <Prompt> abc </Prompt>
            <ChoiceValues>
                <ChoiceValue isDefault="true">
                    <Value>someChoice</Value>
                </ChoiceValue>
            </ChoiceValues>
        </ChoiceCallback>

doing a workaround for OPENAM-4959 to show checkboxes instead of radio buttons.

When the login page is submitted , unchecking the only choice the ChoiceCallback in the authentication module still reports choice '0' as selectedChoice.



 Comments   
Comment by Jonathan Thomas [ 05/Apr/16 ]

The fix provided in OPENAM-6056 will handle scenario where the LoginViewBean sets "0" in choiceCallbacks with no selection.

Generated at Mon Nov 30 14:37:16 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.