Skip to content

META-268: Enabled saving Term-B before importing ConceptReferenceTerm…#46

Open
reagan-meant wants to merge 1 commit into
openmrs:masterfrom
reagan-meant:META-268
Open

META-268: Enabled saving Term-B before importing ConceptReferenceTerm…#46
reagan-meant wants to merge 1 commit into
openmrs:masterfrom
reagan-meant:META-268

Conversation

@reagan-meant
Copy link
Copy Markdown
Contributor

META-268: Enabled saving Term-B before importing ConceptReferenceTermMaps
https://issues.openmrs.org/browse/META-268

if (object.getConceptSource() != null) {
result.add(object.getConceptSource());
}
if(object.getConceptReferenceTermMaps() !=null) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you put space between != and null?

@dkayiwa
Copy link
Copy Markdown
Member

dkayiwa commented Nov 11, 2019

Can you also write a unit test for this using the data attached on the ticket?

@dkayiwa
Copy link
Copy Markdown
Member

dkayiwa commented Nov 29, 2019

@reagan-meant did you see the above comments?

@reagan-meant
Copy link
Copy Markdown
Contributor Author

Let me work on it...

public static final String CONCEPT_REFERENCE_TERMS_METADATA = "mds-concept-reference-terms-metadata.xml";

private String headerXml;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you have any reason as to why these are class level instead of local variables?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants