AuthUI ForceChangePasswordView Form Name Mismatch #586
Labels
bug
Something isn't working
cognito
Issues with the AWS Android SDK for Cognito
pending-community-response
Issue is pending response from the issue requestor
Describe the bug
There is a mismatch between two variable names inside of the two associated files:
aws-sdk-android/aws-android-sdk-auth-userpools/src/main/java/com/amazonaws/mobile/auth/userpools/ForceChangePasswordView.java
and
aws-sdk-android/aws-android-sdk-auth-userpools/src/main/res/layout/activity_force_change_password.xml
The following mismatch is present, causing runtime crash:
activity_force_change_password.xml in line 37:
android:id="@+id/force_change_password_form"
ForceChangePasswordView.java in line 133:
forgotPassForm = (FormView) findViewById(R.id.forgot_password_form);
The second mismatch is the following:
activity_force_change_password.xml in line 50:
android:id="@+id/force_change_password_button"
ForceChangePasswordView.java in line 142:
confirmButton = (Button) findViewById(R.id.forgot_password_button);
To Reproduce
Steps to reproduce the behavior:
Which AWS service(s) are affected?
AWS Cognito - client side, not server
AWS AuthUI
Expected behavior
User should be redirected to the page asking for a new password to be set.
Environment(please complete the following information):
Device Information (please complete the following information):
Additional context
This is currently fixed via manually editing the xml files to match the UI fields requested in the Java files above.
The text was updated successfully, but these errors were encountered: