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 <[email protected]> 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"]->java.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 : [email protected] > 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 [email protected] http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

