← Back to team overview

dhis2-devs team mailing list archive

[Bug 1384277] Re: Web-API paging returns global total for MessageConversations, should be limited to users conversations

 

** Changed in: dhis2
    Milestone: None => 2.16

** Changed in: dhis2
     Assignee: (unassigned) => Halvdan Hoem Grelland (halvdanhg)

** Changed in: dhis2
   Importance: Undecided => Medium

-- 
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