Security Questions Enrollment questions block section is not showing up on the enrollment page for non-English languages (specifically noted for Spanish, Portugese, and German). Also, when the UI is changed to a non-English language, the verification methods 'Enter email' and 'Confirm email' give an error.
Steps to Reproduce
Activate the Spanish, Portugese, or German language plugin.
For more information, see the product documentation topic Activate a language.
Set the instance language to Spanish, Portugese, or German.
Go to /pwd_process.do?sys_id=c6b0c20667100200a5a0f3b457415ad5&sysparm_record_target=pwd_process.
Verifications, add in QA verification and remove any existing verifications.
For more information, see the product documentation topic Password Reset verifications.
Go to /$pwd_enrollment_form_container.do.
The security questions do not show for these languages.
Navigate to System Definition > Script Includes and open the PwdEnrollQuestionsProcessor record.
Go to line 33 and add the following line below the var numEnroll = mgr.getRequiredQuestionCountByVerificationId(verificationId); line:
numEnroll = parseInt(numEnroll);
Navigate to System UI > UI Macros and open the $pwd_enroll_questions_ui record.
Delete the following line of code:
In the same place, add the following lines of code:
var num_enroll = jelly.jvar_mgr.getRequiredQuestionCountByVerificationId(jelly.jvar_verification_id);
num_enroll = parseInt(num_enroll);
Open the Dictionary Entry by going to
- Navigate to Password Reset > Processes > Default Self Service.
- Scroll to Verifications and open Personal Data - Enter Email Address.
- Under Password Reset Verification Parameters, click the column.
- Right-click the value and choose Configure Dictionary.
Make sure Type is String instead of Translated Text.
Related Problem: PRB1184610