Skip to content
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-2498: Validate email address in user options page fixed #238

Closed
wants to merge 1 commit into from

Conversation

harshadura
Copy link
Member

if (notifyType != null) {
if (notifyType.equals("internal") || notifyType.equals("internalProtected") || notifyType.equals("email")) {
if (opts.getNotificationAddress().isEmpty()) {
errors.reject("error.options.notificationAddress.empty");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think it is required for the user to provide the email address

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore my comment, it should be required if they selected a notification type that uses email

@harshadura
Copy link
Member Author

Hi Wyclif, Sorry I just saw the notification regarding to this ticket.
I appologize for any inconvienence occured cause by my absense. ty- Harsha

@wluyima wluyima closed this Jun 10, 2013
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants