← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Positive or Zero Integer Value type does not save zero vlaues

 

Thanks Neeraj,
What if its Tracker Attributes?



Thank you and Kind Regards
*Immarcqulate. A (Emma Kassy) *

*"You miss 100% of the shots you don't take."*

On Mon, Jun 12, 2017 at 1:20 PM, Neeraj Gupta <neeraj.hisp@xxxxxxxxx> wrote:

> Hi Emma,
>
> There is an attribute called 'Store Zero data values' for data elements,
> you need to select 'Yes', in order to save 0 as value.
>
> regrads,
> Neeraj
>
> On Mon, Jun 12, 2017 at 3:42 PM, Immaculate Ayebazibwe <ekassy29@xxxxxxxxx
> > wrote:
>
>> Hi,
>> I have an instance running on 2.25 where the value is 0 is as important
>> as any other.
>> So for a DE of tracker type I assigned the value type Positive or Zero
>> integer so that 0 can be entered. However whenever I enter 0 the system
>> gives an error and does not save.
>> I went further and tested this on 2.26 and 2.27 (demo) now on these
>> versions though it does give an error on save when I return or refresh it
>> shows the DE or value to be empty.
>> I have attached some images for clarity.
>>
>> Is this intentional or a possible bug?
>>
>>
>> Thank you and Kind Regards
>> *Immarcqulate. A (Emma Kassy) *
>>
>> *"You miss 100% of the shots you don't take."*
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Thanks,
> Neeraj Gupta
>

References