[Bug 1498875] [NEW] EC - warning about unsaved data even when no data exist

Public bug reported:

Event capture warns about unsaved data when cancelling an event, even if
no data has been entered (ie there is no data to warn about).

Steps to reproduce (on 2.20):
- click register event (for example with inpatient morbidity program on /demo)
- click cancel without entering any data
- a warning about unsaved will pop up

** Affects: dhis2
     Importance: Undecided
         Status: New

** Description changed:

- Event captures warns about unsaved data when cancelling, even if no data
- has been entered (ie there is no data).
+ Event capture warns about unsaved data when cancelling an event, even if
+ no data has been entered (ie there is no data to warn about).
  
- Steps to reproduce (on 2.20):
+ Steps to reproduce (on 2.20):
  - click register event (for example with inpatient morbidity program on /demo)
  - click cancel without entering any data
  - a warning about unsaved will pop up

···

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

Title:
  EC - warning about unsaved data even when no data exist

Status in DHIS:
  New

Bug description:
  Event capture warns about unsaved data when cancelling an event, even
  if no data has been entered (ie there is no data to warn about).

  Steps to reproduce (on 2.20):
  - click register event (for example with inpatient morbidity program on /demo)
  - click cancel without entering any data
  - a warning about unsaved will pop up

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

Rev no. 19913.

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

···

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

Title:
  EC - warning about unsaved data even when no data exist

Status in DHIS:
  Fix Committed

Bug description:
  Event capture warns about unsaved data when cancelling an event, even
  if no data has been entered (ie there is no data to warn about).

  Steps to reproduce (on 2.20):
  - click register event (for example with inpatient morbidity program on /demo)
  - click cancel without entering any data
  - a warning about unsaved will pop up

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