dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38105
TrackedEntityAttribute - uniqueness of name field
Hi there
I have two TrackedEntityAttributes with names as follows:
HH owns a treated mosquito net
HH owns a treated mosquito net/IRS previous 12m
Which I am trying to create through the web API.
However, only the first can be created and the second gets rejected due to
an uniqueness constraint ( duplicate key value violates unique constraint
"uk_gg9gc0pyaqjuxi8mr4y93i03w )
UI gives me "Name in use" error when it has been typed in.
Is there a workaround for this or is it a quick fix?
Thanks
Alan