← Back to team overview

dhis2-devs team mailing list archive

Re: Tracker capture. Error when writing a note.

 

Hi Abyot!

Thank you very much! I am going to test it now!

Regards!
Alejandro

On Wed, Dec 21, 2016 at 3:01 PM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
wrote:

> Hi Alejandro,
>
> This is now fixed in 2.25 and master.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Dec 16, 2016 at 9:59 AM, Alejandro <acasrod@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> Ok, thank you Abyot. Do you want me to report this in JIRA as a bug?
>>
>> Regards!
>> Alejandro
>>
>> On Fri, Dec 16, 2016 at 9:32 AM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
>> wrote:
>>
>>> Hi,
>>>
>>> Yes, it affects all programs and I am looking into it.
>>>
>>> --
>>> Abyot A. Gizaw.
>>> Senior Engineer, DHIS2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Fri, Dec 16, 2016 at 9:31 AM, Alejandro <acasrod@xxxxxxxxx> wrote:
>>>
>>>> Hi Lars!
>>>>
>>>> I used "TB Program" for my test. But I think it is true for all
>>>> programs, not related to a specific one.
>>>>
>>>> Regards!
>>>> Alejandro
>>>>
>>>> On Thu, Dec 15, 2016 at 8:18 PM, Lars Helge Øverland <lars@xxxxxxxxx>
>>>> wrote:
>>>>
>>>>> Hi Alejandro,
>>>>>
>>>>> thanks for reporting. Which program did you select for this to happen?
>>>>>
>>>>> regards,
>>>>>
>>>>> Lars
>>>>>
>>>>> On Thu, Dec 15, 2016 at 4:22 PM, Alejandro <acasrod@xxxxxxxxx> wrote:
>>>>>
>>>>>> Hello devs!
>>>>>>
>>>>>> We just noticed an error in Tracker Capture App related to Notes
>>>>>> (DHIS2 version 2.25). It can be reproduced in the demo server by doing the
>>>>>> following steps:
>>>>>>
>>>>>> 1) Register a new patient in one of the individual programs, in
>>>>>> instance, TB Program.
>>>>>>
>>>>>> 2) Add a note, such as in the image below (a dashboard's note, not
>>>>>> the ones you can add associated to the form).
>>>>>>
>>>>>> [image: Inline image 1]
>>>>>> 3) Press the button Back. Look for the same patient and enter again
>>>>>> in the dashboard of the program. Any tentative to complete the program
>>>>>> instance raises the following error:
>>>>>>
>>>>>> [image: Inline image 2]
>>>>>>
>>>>>> Unrecognized field "heading" (class org.hisp.dhis.dxf2.events.event.Note),
>>>>>> not marked as ignorable (3 known properties: "value", "storedBy",
>>>>>> "storedDate"]) at [Source: java.io.BufferedInputStream@7c7adc35;
>>>>>> line: 1, column: 420] (through reference chain:
>>>>>> org.hisp.dhis.dxf2.events.enrollment.Enrollment["notes"]->ja
>>>>>> va.util.ArrayList[0]->org.hisp.dhis.dxf2.events.event.Note["
>>>>>> heading"])
>>>>>>
>>>>>> *Note:* This does not happen if the program instance is completed
>>>>>> just after adding the note (without pressing the back button). But in this
>>>>>> case, if you enter again in the patient dashboard and you reopen the
>>>>>> program instance, you will get the same error, preventing any modification.
>>>>>>
>>>>>> This is normal behavior, since patient data is normally registered at
>>>>>> different times in tracker, and the note can be added at any point in the
>>>>>> process.
>>>>>>
>>>>>> Can you have a look at that?
>>>>>>
>>>>>> Many thanks in advance for your help!
>>>>>> Alejandro
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lars Helge Øverland
>>>>> Lead developer, DHIS 2
>>>>> University of Oslo
>>>>> Skype: larshelgeoverland
>>>>> lars@xxxxxxxxx
>>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>
>

PNG image

PNG image


References