We're updating the issue view to help you get more done. 

MAM request in MUC with RSM backwards-paging does not backward page

Description

MAM is used to retrieve message archives. As archives can get quite large, clients can specify what part of the archive they'd like to obtain. That's done using RSM. One of the options provided by RSM is to 'page backwards', meaning: get the messages just before a certain index or element.

Our MUC MAM RSM (... yeah!) implementation does not handle this correctly. When a client asks for 'the last 50 results', it actually receives the first 50 results instead.

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
March 5, 2018, 7:35 PM

Fixed in Monitoring plugin version 1.6.0.

Jeff Wu
July 18, 2019, 3:24 AM
Edited

It is still broken in Smack 4.3.4 and Monitoring plugin 1.8.6

 

queryLastPage() still returns the first page instead of the last page.

 

Correction: 1.8.0

wroot
July 18, 2019, 3:57 AM

Monitoring plugin issues from now on should be posted at https://github.com/igniterealtime/openfire-monitoring-plugin/issues

Also, there is no 1.8.6 version. Just 1.8.0.

Fixed

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Priority

Major
Configure