← Back to team overview

dhis2-devs team mailing list archive

[Bug 1569793] [NEW] attribute unique in program not working

 

Public bug reported:

When using the "unique in program scope" option for attributes,
registering users will cause a crash on the server side.

The workaround is to use other uniqueness scopes.

In the way the calls is made, the registration of the Tracked entity(and
the attribute values), happens before enrolling this tracked entity in a
program. The first call(registration) fails because the program is not
submitted. The program cannot be submitted until the second
call(enrollment) is made.

** Affects: dhis2
     Importance: Undecided
         Status: New

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

Title:
  attribute unique in program not working

Status in DHIS:
  New

Bug description:
  When using the "unique in program scope" option for attributes,
  registering users will cause a crash on the server side.

  The workaround is to use other uniqueness scopes.

  In the way the calls is made, the registration of the Tracked
  entity(and the attribute values), happens before enrolling this
  tracked entity in a program. The first call(registration) fails
  because the program is not submitted. The program cannot be submitted
  until the second call(enrollment) is made.

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


Follow ups