← Back to team overview

dhis2-devs team mailing list archive

[Bug 1216015] Re: Line breaks in indicator expressions causing data entry crash

 

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

** Description changed:

- If you get a line break inside an indicator numerator and denominator it
- breaks the JSON representation. This leads, among others things, to the
+ If you get a line break inside an indicator numerator or denominator it
+ breaks the JSON representation. This leads, among other things, to the
  data entry module not to work properly since the meta-data payload
  cannot be parsed. Should be investigated for validation rules as well.
  
  We need to i) remove line breaks when saving expressions and ii) remove
  line breaks when serializing (encoding) JSON.

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

Title:
  Line breaks in indicator expressions causing data entry crash

Status in DHIS 2:
  New

Bug description:
  If you get a line break inside an indicator numerator or denominator
  it breaks the JSON representation. This leads, among other things, to
  the data entry module not to work properly since the meta-data payload
  cannot be parsed. Should be investigated for validation rules as well.

  We need to i) remove line breaks when saving expressions and ii)
  remove line breaks when serializing (encoding) JSON.

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


References