[Bug 1639529] [NEW] organisation-unit-closed-date-cannot-be-removed

Public bug reported:

In the 2.25 User Interface, once a closed date has been set for an
organisation unit, it cannot be removed. Since the closed date field is
optional, there should be some way to remove it, if it has been set
accidentally.

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1639529

Title:
  organisation-unit-closed-date-cannot-be-removed

Status in DHIS:
  New

Bug description:
  In the 2.25 User Interface, once a closed date has been set for an
  organisation unit, it cannot be removed. Since the closed date field
  is optional, there should be some way to remove it, if it has been set
  accidentally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1639529/+subscriptions

When an organisation unit has a closed date assigned, the UI displays an
"X" for removing the date. The X is displayed all the way to the right
on the "closed date" field, so it may be hard to spot if you're on a
wide screen.

However, if you try to submit the form when the closed date is removed
you'll get a "500 Internal Server Error" because the "closedDate" field
will now be set to "", which is not a valid date.

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1639529

Title:
  organisation-unit-closed-date-cannot-be-removed

Status in DHIS:
  New

Bug description:
  In the 2.25 User Interface, once a closed date has been set for an
  organisation unit, it cannot be removed. Since the closed date field
  is optional, there should be some way to remove it, if it has been set
  accidentally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1639529/+subscriptions

** Changed in: dhis2
     Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
       Status: New => Fix Released

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1639529

Title:
  organisation-unit-closed-date-cannot-be-removed

Status in DHIS:
  Fix Released

Bug description:
  In the 2.25 User Interface, once a closed date has been set for an
  organisation unit, it cannot be removed. Since the closed date field
  is optional, there should be some way to remove it, if it has been set
  accidentally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1639529/+subscriptions

The 500 error was due to DateUtils not able to parse an empty string,
fixed now in 225/master

** Changed in: dhis2
   Importance: Undecided => Low

** Changed in: dhis2
    Milestone: None => 2.25

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1639529

Title:
  organisation-unit-closed-date-cannot-be-removed

Status in DHIS:
  Fix Released

Bug description:
  In the 2.25 User Interface, once a closed date has been set for an
  organisation unit, it cannot be removed. Since the closed date field
  is optional, there should be some way to remove it, if it has been set
  accidentally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1639529/+subscriptions

Thanks for the fix. Yes, I had a wide screen and completely did not see
the "X" for removing the date.

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1639529

Title:
  organisation-unit-closed-date-cannot-be-removed

Status in DHIS:
  Fix Released

Bug description:
  In the 2.25 User Interface, once a closed date has been set for an
  organisation unit, it cannot be removed. Since the closed date field
  is optional, there should be some way to remove it, if it has been set
  accidentally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1639529/+subscriptions