** Changed in: dhis2 Assignee: (unassigned) => Lars Helge Øverland (larshelge)
** Changed in: dhis2 Status: New => Fix Committed -- closed date set to current data in update orgunit https://bugs.launchpad.net/bugs/646746 You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. Status in DHIS 2 - District Health Information Software: Fix Committed Bug description: Applies to 2.0.5 only - has been fixed in trunk rev. 2087 In UpdateOgranisationForm.vm a function datePickerInRange( 'openingDate', 'closedDate' ) is called. This function (in common.js) sets to start and end date to current date if they are null or empty. This is not desired for end date which is not a required (and mostly not desired) field in orgunit update. Basically this means that any changes to the orgunits cannot be saved as an orgunit with children cannot be closed. In the fix in trunk rev 2087 the function has two additional boolean parameters which decides whether the current date should be used or not: function datePickerInRange ( startdate, enddate, setCurrentStartDate, setCurrentEndDate ) There is a lot more in the 2087 commit, and not sure we want all that in the 2.0.5 branch right now. _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp