dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #45720
[Bug 1569793] Re: attribute unique in program not working
As we are not fixing this before 2.24, the options will be hidden. Be
sure to revert revision 23470 when the support is implemented.
** Description changed:
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.
+
+ Be sure to revert revision 23470 when the support is implemented.
--
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.
Be sure to revert revision 23470 when the support is implemented.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1569793/+subscriptions
References