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

Trunck 4975 Making Family name as Optional #1887

Merged
merged 1 commit into from
Dec 13, 2016

Conversation

fanyui
Copy link
Contributor

@fanyui fanyui commented Dec 8, 2016

Description

I Removed the validation carried out on familyName
and also change the message.properties file to give a message that best resemble the error.
I also remove the tests that are carried out on the patientName when you compile the project

Related Issue

see https://issues.openmrs.org/browse/TRUNK-4975

Checklist:

  • My pull request only contains one single commit.
  • My pull request is based on the latest master branch
    git pull --rebase upstream master.
  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.
  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mention-bot
Copy link

@fanyui, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bmamlin, @suniala and @ShekharReddy4 to be potential reviewers.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 55.803% when pulling acef2ff on fanyui:TRUNCK-4975 into 6744580 on openmrs:master.

@dkayiwa
Copy link
Member

dkayiwa commented Dec 8, 2016

@fanyui did you notice the travis failure?

@fanyui
Copy link
Contributor Author

fanyui commented Dec 8, 2016 via email

@dkayiwa
Copy link
Member

dkayiwa commented Dec 8, 2016

Can you squash the commits into one as per https://wiki.openmrs.org/display/docs/Pull+Request+Tips?

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 55.772% when pulling 2ae75b7 on fanyui:TRUNCK-4975 into 6744580 on openmrs:master.

@dkayiwa
Copy link
Member

dkayiwa commented Dec 9, 2016

@fanyui did you get a chance to test this out in a running web application to confirm that you can now register patients with only the given name?

@fanyui
Copy link
Contributor Author

fanyui commented Dec 10, 2016 via email

@fanyui
Copy link
Contributor Author

fanyui commented Dec 10, 2016 via email

@dkayiwa
Copy link
Member

dkayiwa commented Dec 11, 2016

@fanyui instead of removing these tests, can you instead make them test the opposite? For instance, if a test says "should fail if familyName is blank", you could make it, "should pass if familyName is blank".

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 55.794% when pulling 1ff9d8f on fanyui:TRUNCK-4975 into 8268091 on openmrs:master.

… corresponding error message in messages.properties file also modified Some of the tests carried out on familyName to reflect the change
@dkayiwa dkayiwa merged commit c6d61ea into openmrs:master Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants