Fix #1546 - Remove redundant entries in includes
This commit is contained in:
parent
0971998f57
commit
895c9a1f2c
|
@ -116,20 +116,10 @@ public class ${className}ResourceProvider extends
|
|||
#end
|
||||
|
||||
@IncludeParam(allow= {
|
||||
#foreach ( $param in $searchParamsReference )
|
||||
#set ( $haveMore = $foreach.hasNext )
|
||||
#if ( $version == 'dstu' )
|
||||
#foreach ( $include in $param.paths )
|
||||
"${include.path}" #{if}($foreach.hasNext || $haveMore), #{end}
|
||||
#end
|
||||
#else
|
||||
#foreach ( $include in $includes )
|
||||
"${include.path}" #{if}($foreach.hasNext || $haveMore), #{end}
|
||||
#end
|
||||
#end
|
||||
#foreach ( $include in $includes )
|
||||
"${include.path}" #{if}($foreach.hasNext), #{end}
|
||||
#end
|
||||
#{if}($searchParamsReference.empty == false), #{end}"*"
|
||||
})
|
||||
})
|
||||
Set<Include> theIncludes,
|
||||
|
||||
@Sort
|
||||
|
|
|
@ -400,6 +400,10 @@
|
|||
raw JSON to the validator. This meant that the validator was unable to catch certain structural
|
||||
errors that are ignored by Gson. Thanks to Michael Lawley for reporting!
|
||||
</action>
|
||||
<action type="fix" issue="1546">
|
||||
The JPA server exposed a number of duplicate entries in the CapabilityStatement's list of
|
||||
supported _include values for a given resource. Thanks to Jens Villadsen for reporting!
|
||||
</action>
|
||||
</release>
|
||||
<release version="4.0.3" date="2019-09-03" description="Igloo (Point Release)">
|
||||
<action type="fix">
|
||||
|
|
Loading…
Reference in New Issue