Affects Version/s: 2.1
Fix Version/s: 2.1
When clicking on the post to DHIS2 button. The page gets crashed.
See subtasks for a detailed description.
Steps to reproduce:
1. Import a report definition
2. Map it with a report
3. Select a period and pick "Post to DHIS2" option
4. Click generate.