Public bug reported:
I'm attempting to add a legendSet to an existing dataElement. While the
api seems to return updated: 1 it does not actually add the legendSet to
the object.
Reproduce add:
+ GET DHIS 2 Demo - Sierra Leone
+ Add part to the payload "legendSet": {"id": "Yf6UHoPkdS6"}
+ PUT the payload back to the server
+ The dataElement is not updated with the new LegendSet
Reproduce remove:
+ GET DHIS 2 Demo - Sierra Leone
+ Remove legendSet part or set to null
+ PUT the payload back to the server
+ LegenSet is still available on the object
Might be related to the earlier reported https://bugs.launchpad.net/dhis2/+bug/1563546
** Affects: dhis2
Importance: Undecided
Status: New
** Tags: api
···
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1563559
Title:
[Api] Adding/Removing a legendSet to an existing dataElement using PUT
Status in DHIS:
New
Bug description:
I'm attempting to add a legendSet to an existing dataElement. While
the api seems to return updated: 1 it does not actually add the
legendSet to the object.
Reproduce add:
+ GET DHIS 2 Demo - Sierra Leone
+ Add part to the payload "legendSet": {"id": "Yf6UHoPkdS6"}
+ PUT the payload back to the server
+ The dataElement is not updated with the new LegendSet
Reproduce remove:
+ GET DHIS 2 Demo - Sierra Leone
+ Remove legendSet part or set to null
+ PUT the payload back to the server
+ LegenSet is still available on the object
Might be related to the earlier reported https://bugs.launchpad.net/dhis2/+bug/1563546
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1563559/+subscriptions