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

Error caused by Korean language #832

Closed
JoonggeonLee opened this issue Jan 19, 2018 · 5 comments
Closed

Error caused by Korean language #832

JoonggeonLee opened this issue Jan 19, 2018 · 5 comments

Comments

@JoonggeonLee
Copy link

@JoonggeonLee JoonggeonLee commented Jan 19, 2018

When I create FHIR Resource having some values in Korean, the server throws ArrayIndexOutOfBoundsException.

Best
Joonggeon

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 19, 2018

Hi, can you please provide an example?

@JoonggeonLee
Copy link
Author

@JoonggeonLee JoonggeonLee commented Jan 19, 2018

This is sample FHIR resource having values in Korean.

image

This is ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.java where the exception happens.

I guess Normalizer.normalize(theString, Normalizer.Form.NFD) method works wrong.

Thank you for your concern

Best

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 19, 2018

Hello, did you accidentally include the wrong attachment? That appears to be a screenshot.

Can you please provide a sample resource which demonstrates this problem?

@JoonggeonLee
Copy link
Author

@JoonggeonLee JoonggeonLee commented Jan 19, 2018

Oh sorry, I have attached the patient resource having Korean value

Thank you

PatientResource.zip

@jamesagnew
Copy link
Collaborator

@jamesagnew jamesagnew commented Jan 21, 2018

Perfect, thanks! That example did the trick, I'm committing a fix shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.