dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33649
[Bug 1384277] Re: Web-API paging returns global total for MessageConversations, should be limited to users conversations
Note: Problem is present in 2.16 as well.
--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1384277
Title:
Web-API paging returns global total for MessageConversations, should
be limited to users conversations
Status in DHIS 2:
New
Bug description:
Try the following in 2.17 trunk:
curl -X GET https://apps.dhis2.org/dev/api/messageConversations -u admin:district -v
The total in the Web-API pager of the returned result will not reflect
the messages for the particular user, but the database total of
MessageConversations. Likely related to access control for messages
being only partially implemented (see
MessageConversationController.getObject()).
Arguably not really a bug but a lack of consistency in the API causing
confusion.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1384277/+subscriptions
References