dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10380
Re: [Bug 717761] Re: 0 value doesn't delete existing data
No I am not mixing it up. First of all there is a deliberate decision not to
send zero values to the server due to performance considerations. Data entry
causes the biggest load on the server and zeros typically constitutes 75% of
the data - hence we reduce the load on the server correspondingly. Checking
for what you suggest will require a trip to the server and we loose this
benefit.
Second, the rule now is simple - zero values are saved if significant and
ignored if not. An exception for saying that 0 should delete existing values
are not natural and more confusing. I agree that this stuff is not perfect
but we are making a trade-off here.
Finally, Tri, this behavior is quite crucial and it is not OK to commit
changes without discussing with me, as I have explained 100 times.
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/717761
Title:
0 value doesn't delete existing data
Status in DHIS 2 - District Health Information Software:
Fix Committed
Bug description:
When entering 0 in a data entry field where a data value already is
entered, the box turns green, indicating that the value is stored. But
when "re-visiting" the form the old value is still there. The data
entry field should be empty!
Follow ups
References