dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24128
[Bug 1216015] [NEW] Line breaks in indicator expressions causing data entry crash
Public bug reported:
If you get a line break inside an indicator numerator and denominator it
breaks the JSON representation. This leads, among others 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.
** Affects: dhis2
Importance: High
Status: New
** Changed in: dhis2
Milestone: None => 2.13
** Changed in: dhis2
Importance: Undecided => High
--
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 and denominator
it breaks the JSON representation. This leads, among others 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
Follow ups
References