=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2012-04-20 18:31:48 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2012-04-21 09:33:17 +0000 @@ -607,7 +607,7 @@ return userOrganisationUnit; } - public void setUserOrganisationUnit( boolean userOrganisationUnitChildren ) + public void setUserOrganisationUnit( boolean userOrganisationUnit ) { this.userOrganisationUnit = userOrganisationUnit; } === modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java 2012-04-21 08:25:31 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataset/DataSet.java 2012-04-21 09:33:17 +0000 @@ -373,9 +373,11 @@ this.periodType = periodType; } - @JsonProperty - @JsonView( {DetailedView.class, ExportView.class} ) - @JacksonXmlProperty( namespace = Dxf2Namespace.NAMESPACE ) + //@JsonProperty + //@JsonView( {DetailedView.class, ExportView.class} ) + //@JacksonXmlProperty( namespace = Dxf2Namespace.NAMESPACE ) + // Leaving dataEntryForm out for the moment since we are using IDs there and not UIDs. + // At some point it should also be upgraded to idObject (to make it work a bit better with the importer). public DataEntryForm getDataEntryForm() { return dataEntryForm; === modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java' --- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2012-04-21 08:25:31 +0000 +++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/TableAlteror.java 2012-04-21 09:33:17 +0000 @@ -422,6 +422,9 @@ executeSql( "update chart set last6bimonths = false where last6bimonths is null" ); executeSql( "update chart set last4quarters = false where last4quarters is null" ); executeSql( "update chart set last2sixmonths = false where last2sixmonths is null" ); + executeSql( "update chart set showdata = false where showdata is null" ); + executeSql( "update chart set userorganisationunitchildren = false where userorganisationunitchildren is null" ); + executeSql( "update chart set userorganisationunit = false where userorganisationunit is null" ); // report, reporttable, chart groups === modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml' --- dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml 2012-04-20 07:50:59 +0000 +++ dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml 2012-04-21 09:33:17 +0000 @@ -1,9 +1,9 @@ ] -> + "-//Hibernate/Hibernate Mapping DTD 3.0//EN" + "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd" + [] + > @@ -16,7 +16,7 @@ - + @@ -48,21 +48,24 @@ - + - + - + @@ -70,10 +73,11 @@ + foreign-key="fk_chart_organisationunits_organisationunitid" /> - - + + @@ -83,16 +87,16 @@ - + - + - +