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

Activity

Show:

wroot July 18, 2019 at 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.

Jeff Wu July 18, 2019 at 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

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

Fixed in Monitoring plugin version 1.6.0.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created February 16, 2018 at 8:52 PM
Updated July 18, 2019 at 4:17 PM
Resolved March 5, 2018 at 7:35 PM