dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40462
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20514: downcast to idobject for programstage.programstagesections
------------------------------------------------------------
revno: 20514
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-10-06 16:27:21 +0700
message:
downcast to idobject for programstage.programstagesections
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java 2015-10-05 17:45:17 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramStage.java 2015-10-06 09:27:21 +0000
@@ -259,6 +259,7 @@
@JsonProperty( "programStageSections" )
@JsonView( { DetailedView.class, ExportView.class } )
+ @JsonSerialize( contentAs = BaseIdentifiableObject.class )
@JacksonXmlElementWrapper( localName = "programStageSections", namespace = DxfNamespaces.DXF_2_0 )
@JacksonXmlProperty( localName = "programStageSection", namespace = DxfNamespaces.DXF_2_0 )
public Set<ProgramStageSection> getProgramStageSections()