-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TRUNK-3779 User secret answer should be required if the question is set #836
Conversation
No I didnt make any change to web/WEB-INF/dwr-modules.xml.When i ran sudo mvn clean install this file appeared. |
Can you remove it? Just in case you had not seen this: On Mon, Mar 31, 2014 at 11:48 AM, Shubham Rai notifications@github.comwrote:
If we keep uppermost in our minds the unkind and unjust acts of others, we |
I have made the required changes. |
Do i have to write a test for the case in which both the question and answer is set correctly? I believe the test for that is already there. |
Yes. If it exists, what is the test name? |
The test name is shouldChangeSecretQuestionAndAnswer() in OptionsFormControllerTest.java |
Oh i see!!! You have good eyes. :) On Mon, Mar 31, 2014 at 9:31 PM, Shubham Rai notifications@github.comwrote:
If we keep uppermost in our minds the unkind and unjust acts of others, we |
Thanks :) .So now what i should do? |
Have you responded to all the comments? |
No. I had a doubt regarding the comment on UserValidator. Do i have to add the condition i have added here in UserValidator also so that while creating a new User the same error does not repeat? |
Is it possible to put the code in the validator, then reuse that validator On Mon, Mar 31, 2014 at 9:38 PM, Shubham Rai notifications@github.comwrote:
If we keep uppermost in our minds the unkind and unjust acts of others, we |
I am not sure about that. I'll check it out and then get back to you.As far as i can see now UserValidator.java is not dealing with advanced options |
Some of our validators are not handling all the fields that they should be On Mon, Mar 31, 2014 at 9:45 PM, Shubham Rai notifications@github.comwrote:
If we keep uppermost in our minds the unkind and unjust acts of others, we |
TRUNK-3779 User secret answer should be required if the question is set
I have put the check opts.getSecretQuestionPassword().equals("") because the error occurs only when the SecretQuestionPassword is not set. If the user enters the SecretQuestionPassword and then enters only the Question or Answer appropriate error messages are shown. |
Oh i see!!! Thanks :) On Tue, Apr 1, 2014 at 2:16 PM, Shubham Rai notifications@github.comwrote:
If we keep uppermost in our minds the unkind and unjust acts of others, we |
I have added a new pull request addressing issues discussed above. |
No description provided.