← Back to team overview

dhis2-devs team mailing list archive

Re: Tracker Capture: Program Relationship Errors

 

This is the error I get from the console when I clock on Save Relationship:

 PUT https://www.ecole-village-assainis-bdd.cd/api/trackedEntityInstances/HaHEl4iTYw8 500 (Internal Server Error)angular.js:8113 (anonymous function)angular.js:7915 sendReqangular.js:7655 serverRequestangular.js:11046 wrappedCallbackangular.js:11046 wrappedCallbackangular.js:11132 (anonymous function)angular.js:12075 Scope.$evalangular.js:11903 Scope.$digestangular.js:12179 Scope.$applyangular.js:18228 (anonymous function)jquery.min.js:2 p.event.dispatchjquery.min.js:2 g.handle.h

Just to let you know, I don’t get error #2 in 2.16. 


> On 28 Nov 2014, at 14:45, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
> 
> 
> On Fri, Nov 28, 2014 at 2:35 PM, Adebusoye Anifalaje <busoye@xxxxxxxx <mailto:busoye@xxxxxxxx>> wrote:
> Hi Abyot,
> 
> Thanks for replying. 
> 
> When you click Save Relationship, nothing happens. You have to click “Close” for the dialog window to close.
> 
> Hmm... the save button should close the dialog. There must be something in log (either console or network tab). Did this thing happened while trying to enroll the relative also? What happened if you try to register a relative without enrollment? The enrollment might fail because of the bug you mentioned in 2. I am looking at it right now.
>  
> 
> Do you have a scheduled release for including indicators in the Tracker Capture?
> 
> May be the next release (2.18), definitely not to be back-ported to 2.17.
>  
> 
> Cheers.
> 
> Busoye
>  
>  
>> On 28 Nov 2014, at 13:42, Abyot Gizaw <abyota@xxxxxxxxx <mailto:abyota@xxxxxxxxx>> wrote:
>> 
>> Hi Busoye,
>> 
>> Thanks for reporting. I know the issue with 1 - will display the label defined under program setting. 2 should be a bug, will take a close look and fix. 
>> 
>> I am not sure about 3. The idea is when you click "Save Relationship", the dialog (the one you have been specifying relationship details) should close. And the new relationship you just added listed in the "Relationships" widget. Are you saying, you are seeing a different behavior?
>> 
>> 
>> ---
>> Thank you,
>> Abyot.
>> 
>> On Fri, Nov 28, 2014 at 10:10 AM, Adebusoye Anifalaje <busoye@xxxxxxxx <mailto:busoye@xxxxxxxx>> wrote:
>> Hi devs,
>> 
>> Working with program relationships in the Tracker Capture. A few problems I noticed:
>> 
>> 1) Even though a relationship type is defined, this is not reflected when you open Tracker Capture program stage. In Individual Records you are able to see the Shortcut description from the program stage instance e.g. Add Child. This is not available in the Tracker Capture although if you clicked on Add Relationship you then see the options.
>> 
>> <Relationship Exists.png>
>> 
>> 2) After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format
>> 
>> <Enrolment Date not in date format.png>
>> 
>> 
>> 
>> 3) When you click on Save Relationship, nothing happens even though the relationship is actually saved!
>> 
>> Regards,
>> 
>> Busoye
>> 
>> Version:
>> 2.17
>> Build revision:
>> 17568
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
>> 
> 
> 


Follow ups

References