dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #41974
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21434: bug fix in saving event dates
------------------------------------------------------------
revno: 21434
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-12-14 09:58:43 +0100
message:
bug fix in saving event dates
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.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-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2015-12-04 07:02:34 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2015-12-14 08:58:43 +0000
@@ -818,7 +818,9 @@
programStageInstance.setStatus( EventStatus.VISITED );
}
- OrganisationUnit organisationUnit = getOrganisationUnit( null, event.getOrgUnit() );
+ ImportOptions importOptions = new ImportOptions();
+
+ OrganisationUnit organisationUnit = getOrganisationUnit( importOptions.getIdSchemes().getOrgUnitIdScheme(), event.getOrgUnit() );
if ( organisationUnit == null )
{