Tracker Capture: Program Relationship Errors

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.

  1. After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format

  1. When you click on Save Relationship, nothing happens even though the relationship is actually saved!

Regards,

Busoye

Version:
2.17
Build revision:
17568

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?

image

image

···

On Fri, Nov 28, 2014 at 10:10 AM, Adebusoye Anifalaje busoye@hisp.org 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.
  1. After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format
  1. 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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Thank you,

Abyot.

Hi Abyot,

Thanks for replying.

When you click Save Relationship, nothing happens. You have to click “Close” for the dialog window to close.

Do you have a scheduled release for including indicators in the Tracker Capture?

Cheers.

Busoye

···

On Fri, Nov 28, 2014 at 10:10 AM, Adebusoye Anifalaje busoye@hisp.org 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.
  1. After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format
  1. 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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Thank you,

Abyot.

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.

···

On Fri, Nov 28, 2014 at 2:35 PM, Adebusoye Anifalaje <busoye@hisp.org> wrote:

Cheers.

Busoye

On 28 Nov 2014, at 13:42, Abyot Gizaw <abyota@gmail.com> 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@hisp.org> > 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.17Build revision:17568

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

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 Fri, Nov 28, 2014 at 2:35 PM, Adebusoye Anifalaje busoye@hisp.org 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@gmail.com 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@hisp.org 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.
  1. After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format
  1. 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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Busoye,

This thing is fixed now in both trunk and 2.17 (Rev. 17585).

···

On Fri, Nov 28, 2014 at 2:52 PM, Adebusoye Anifalaje busoye@hisp.org wrote:

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@gmail.com wrote:


Thank you,

Abyot.

On Fri, Nov 28, 2014 at 2:35 PM, Adebusoye Anifalaje busoye@hisp.org 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@gmail.com 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@hisp.org 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.
  1. After selecting the new program to add, the registration/enrolment date (i.e. 1st Post Certification Date) is not in date format
  1. 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

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp