After Data Ownership Transfer ( no of data in line listing is not equal to capture list )

When transferring data ownership, the number of data items shown in the Line Listing App and Capture App is not the same.

You can reproduce this on the demo here: : Login app | DHIS2
ezgif-5-7295a35303

Initial Stage:
Capture App : 3
Line Listing : 3

After Transfer Ownership
Capture App : 2 ( 1 data gone to the another organization capture list)
Line Listing : 3

Expected Result
Capture App : 2 ( 1 data gone to the another organization capture list)
Line Listing : 2 ( same as Capture )

Could you please advise on how to resolve this? I have applied a temporary fix by modifying the data

Hi @rcpoudel

Thank you for the detailed post …

I’m able to reproduce this as well. Would you like to create a Jira bug issue with the same steps and link to this post?

How to quickly reproduce this bug (sorry, you’ll have to wait for the analytics export though):

  1. Create a tracker program
  2. Select tracked entity instance person
  3. show attributes in the list
  4. select OUs that can view data and capture
  5. Go to the Capture app and create several TEIs in an OU
  6. Transfer TEIs from this OU to another OU
  7. Run Analytics Tables Export
  8. Go to the Line Listing app
  9. List the TEIs in the original OU
  10. You will find the TEIs that were supposedly transferred are still there. /api/41/analytics/enrollments returns them too. Tried in Guest mode to avoid cache and it’s still the same.

I’m also triaging this to the software team.

Thanks!

1 Like

Hi @Gassim,
Thank you for confirming the issue. I’ve created a Jira bug issue with the detailed reproduction steps

https://dhis2.atlassian.net/browse/DHIS2-17977

Thanks again for your prompt assistance!

1 Like

This is because line lists are based on the enrollment org unit at the moment. We are looking into adding all the different org units to the LL app, follow that issue here: [DHIS2-13021] - Jira :slight_smile:

2 Likes

Thank you @rcpoudel ! Please see the comment from @Karoline . It seems that this is a work in progress and currently the Line Listing app will count the enrollment OU but the ticket explains how ā€œmultiple org units associated with TEI enrollmentā€ can be considered.

is this issue solved? or still in progress?
Regards…

1 Like

Just checking in, this is still marked as pending

1 Like

Hi @rcpoudel and @omar_aljaff

@omar_aljaff, welcome to the DHIS2 Community!

@rcpoudel , pending means it’s definitely in the team’s radar but it has not been prioritized; however, community members are welcome to share more to why this is pressing (if it is) and to mention if it is affecting their implementation.

It could also help to ā€˜like’ the jira ticket, add a comment there and watch the ticket.

Thanks!

1 Like