← Back to team overview

dhis2-devs team mailing list archive

Re: Problem registering tracked entity

 

Hi Jason,

That was a bug. I just made a fix for both 2.16 and trunk.


---
Thank you,
Abyot.


On Sun, Sep 7, 2014 at 8:45 AM, Jason Pickering <jason.p.pickering@xxxxxxxxx
> wrote:

> Currently on 2.16, rev 16408. When registering a new tracked entity with
> the tracker capture app, I get a message "Error in registering" and see
> this JSON response (just get an empty "Error in registering" message in the
> UI")
>
> {"status":"ERROR","importCount":{"imported":0,"updated":0,"ignored":1,"deleted":0},"conflicts":[{"object":"Attribute.value","value":"Value is not boolean for attribute: Attribute{displayName='null', attribute='VGQd25dlkz9', type='null', code='null', value='0'}"}]}
>
>
> This corresponds to a "Boolean" attribute, so not really sure why it looks
> like a zero is being sent.
>
> Any idea about what I am doing wrong?
>
> Regards
>
> Jason
>
> --
> Jason P. Pickering
> email: jason.p.pickering@xxxxxxxxx
> tel:+46764147049
>
> _______________________________________________
> 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
>
>

Follow ups

References