IATI / D-Portal

http://d-portal.org/
Other
31 stars 23 forks source link

Assigning activity and ended status to projects #627

Closed amy-silcock closed 2 years ago

amy-silcock commented 2 years ago

My understanding is that the activity and ended projects are calculated based on the activity dates. CKU have pointed out that the dates shows are their planned end dates, rather than the actual end dates (note, they shouldn't be published actual end dates for non-completed activities).

See here for a the summary of activities: http://d-portal.org/ctrack.html?reporting_ref=DK-CVR-12006004#view=main

The shown end dates are pulled from the planned end dates. For example see the first activity: http://d-portal.org/ctrack.html?reporting_ref=DK-CVR-12006004#view=ended image

http://d-portal.org/ctrack.html?reporting_ref=DK-CVR-12006004#view=act&aid=DK-CVR-12006004%20DMCDD-19-A-10

image

Can the activity active/completed classification use actual end date rather than planned end date. If there's a past planned end date but no actual end date then the standard presumes that the activity is delayed so is still active.

notshi commented 2 years ago

Thanks for raising, @amy-silcock - looks like this was a typo.

Actual start/end dates should always be used over planned dates when found.

This fix is now in and should be live tomorrow. Do let us know otherwise.

amy-silcock commented 2 years ago

Thanks @notshi! This looks good to me. I've also asked the publisher to check that everything is as they expect.

amy-silcock commented 2 years ago

The publisher has confirmed everything is working as expected.