← Back to team overview

dhis2-devs team mailing list archive

[Bug 1410933] [NEW] Adding a new Program Stage with an large amount of Data Elements fails

 

Public bug reported:

DHIS2 Version: 2.17
Build revision: 17707
Build date: 2015-01-13 02:03
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Tomcat 7


If a new Program Stage is added containing many Data Elements (perhaps 50) it leads to an empty page.
The Program Stage is not created.

It is possible though to actually create the Program Stage by first adding only a few Data Elements.
After opening the just created Program Stage for editing, more Data Elements can be added.

I first noticed the problem on a system with nginx in front, which
complained about a too long URL. Then I tested it without nginx and got
the behavior described above. The URL may be trunced to 4096 chars.


MyIP - - [14/Jan/2015:18:56:19 +0000] "GET /dhis-our/dhis-web-commons-ajax-json/getDataElements.action?domain=patient HTTP/1.1" 200 21545
MyIP - - [14/Jan/2015:18:56:21 +0000] "POST /dhis-our/dhis-web-maintenance-program/validateProgramStage.action HTTP/1.1" 200 74
MyIP - - [14/Jan/2015:18:55:54 +0000] "GET null null" 400 -

** 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/1410933

Title:
  Adding a new Program Stage with an large amount of Data Elements fails

Status in DHIS 2:
  New

Bug description:
  DHIS2 Version: 2.17
  Build revision: 17707
  Build date: 2015-01-13 02:03
  User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
  Tomcat 7

  
  If a new Program Stage is added containing many Data Elements (perhaps 50) it leads to an empty page.
  The Program Stage is not created.

  It is possible though to actually create the Program Stage by first adding only a few Data Elements.
  After opening the just created Program Stage for editing, more Data Elements can be added.

  I first noticed the problem on a system with nginx in front, which
  complained about a too long URL. Then I tested it without nginx and
  got the behavior described above. The URL may be trunced to 4096
  chars.

  
  MyIP - - [14/Jan/2015:18:56:19 +0000] "GET /dhis-our/dhis-web-commons-ajax-json/getDataElements.action?domain=patient HTTP/1.1" 200 21545
  MyIP - - [14/Jan/2015:18:56:21 +0000] "POST /dhis-our/dhis-web-maintenance-program/validateProgramStage.action HTTP/1.1" 200 74
  MyIP - - [14/Jan/2015:18:55:54 +0000] "GET null null" 400 -

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


Follow ups

References