← Back to team overview

dhis2-devs team mailing list archive

[Bug 1481058] Re: Program enrollment fails in Tracker Capture dashboard

 

** Changed in: dhis2
     Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot)

** Changed in: dhis2
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1481058

Title:
  Program enrollment fails in Tracker Capture dashboard

Status in DHIS:
  Fix Committed

Bug description:
  I’m getting a “Error in update: Import was successful” message when I
  try to enroll a person in a program via the Tracker Capture dashboard
  in DHIS 2.20.

  The enrollment does not save. This occurs in both my DHIS instance
  (2.20 build 19688) and the online demo (2.20 build 19691).

  Steps to reproduce:
  1.	Open Tracker Capture
  2.	Select an existing patient
  3.	In the Tracker dashboard, select a program for which this person is not yet enrolled
  4.	Press New in the Enrollment section
  5.	Fill in the form and hit “Enroll”

  Here's the Tomcat log:
  sql: from trackedentityinstance tei inner join trackedentity te on tei.trackedentityid = te.trackedentityid inner join organisationunit ou on tei.organisationunitid = ou.organisationunitid inner join trackedentityattributevalue as "EeS8q0xyMxp" on "EeS8q0xyMxp".trackedentityinstanceid = tei.trackedentityinstanceid and "EeS8q0xyMxp".trackedentityattributeid = 1175 and lower("EeS8q0xyMxp".value) = '1111'
  sql: from trackedentityinstance tei inner join trackedentity te on tei.trackedentityid = te.trackedentityid inner join organisationunit ou on tei.organisationunitid = ou.organisationunitid inner join trackedentityattributevalue as "gT7UHCoaMO2" on "gT7UHCoaMO2".trackedentityinstanceid = tei.trackedentityinstanceid and "gT7UHCoaMO2".trackedentityattributeid = 1167 and "gT7UHCoaMO2".value = '7'
  * INFO  2015-08-03 14:24:14,214 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,215 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,215 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,216 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,217 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,217 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,218 Deleted objects associated with object of type TrackedEntityAttributeValue (DefaultDeletionManager.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,219 'rs3524' update org.hisp.dhis.trackedentity.TrackedEntityInstance, uid: HTkyyZTtQF9 (AuditLogUtil.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,220 'rs3524' update org.hisp.dhis.trackedentity.TrackedEntityInstance, uid: HTkyyZTtQF9 (AuditLogUtil.java [http-bio-80-exec-11])
  * INFO  2015-08-03 14:24:14,240 'rs3524' update org.hisp.dhis.trackedentity.TrackedEntityInstance, uid: HTkyyZTtQF9 (AuditLogUtil.java [http-bio-80-exec-11])

  
  I don’t think it’s related, but there is also an error in the Javascript console: GET https://apps.dhis2.org/dev/api/userSettings/keyTrackerDashboardLayout 404 (Not Found)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1481058/+subscriptions


References