I Had the same issue,, and after deleting that programattributeid colum it worked fine, I running versin 2.18 but a bit customized with added modules.
-- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1286687 Title: selecting attributes for tracked entity throws exception Status in DHIS 2: New Bug description: To create a program for tracking villages, I defined 3 attributes: Name, Population and Date. Name and Date are mandatory. In Programs, selected Multiple entry with registration, set enrolment date as Registration Date and unchecked show incident date. When I select the 3 attributes I created and update, this comes up with an error. I checked the program-attributes table but this doesn't have any records as the programattributesid is not generated for some reason. Is there a step I am missing in this new world of Trackedentity? Relevant section of log pasted below. Any help most welcome. Thanks. Busoye Version: 2.15-SNAPSHOT Build revision: 14116 To manage notifications about this bug go to: https://bugs.launchpad.net/dhis2/+bug/1286687/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

