Fix #607 - Testing UI showed an error for transactions on DSTU2 server

This commit is contained in:
James Agnew 2017-03-27 07:50:01 +08:00
parent 91ff109300
commit 93cfb2360c
2 changed files with 5 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ class ParserState<T> {
} else if ("fhir_comments".equals(theLocalPart) && myJsonMode) {
push(new SwallowChildrenWholeState(getPreResourceState()));
} else {
throw new DataFormatException("Unexpected element in entry: " + theLocalPart);
this.logAndSwallowUnexpectedElement(theLocalPart);
}
}

View File

@ -22,6 +22,10 @@
actually a resource in FHIR DSTU2 and its inclusion causes errors on clients
that don't understand what it is. Thanks to Travis Cummings and Michele Mottini for pointing this out.
</action>
<action type="fix" issue="607">
Web testing UI displayed an error when a transaction was pasted into the UI
for a DSTU2 server. Thanks to Suresh Kumar for reporting!
</action>
</release>
<release version="2.3" date="2017-03-18">
<action type="add">