Fix unit test issues
This commit is contained in:
parent
22ffa16bb3
commit
5a450227b2
|
@ -725,7 +725,7 @@ public class RestfulServer extends HttpServlet {
|
|||
BaseServerResponseException exception = null;
|
||||
for (int i = getInterceptors().size() - 1; i >= 0; i--) {
|
||||
IServerInterceptor next = getInterceptors().get(i);
|
||||
exception = next.preProcessOutgoingException(requestDetails, exception, theRequest);
|
||||
exception = next.preProcessOutgoingException(requestDetails, e, theRequest);
|
||||
if (exception != null) {
|
||||
ourLog.debug("Interceptor {} returned false, not continuing processing");
|
||||
break;
|
||||
|
|
|
@ -1096,7 +1096,12 @@ public abstract class BaseHapiFhirResourceDao<T extends IResource> extends BaseH
|
|||
}
|
||||
|
||||
From<?, ?> stringJoin = theFrom.join(joinAttrName, JoinType.INNER);
|
||||
|
||||
if (param.getParamType() == RestSearchParameterTypeEnum.REFERENCE) {
|
||||
thePredicates.add(stringJoin.get("mySourcePath").as(String.class).in(param.getPathsSplit()));
|
||||
} else {
|
||||
thePredicates.add(theBuilder.equal(stringJoin.get("myParamName"), theSort.getParamName()));
|
||||
}
|
||||
|
||||
// Predicate p = theBuilder.equal(stringJoin.get("myParamName"), theSort.getParamName());
|
||||
// Predicate pn = theBuilder.isNull(stringJoin.get("myParamName"));
|
||||
|
|
Loading…
Reference in New Issue