Monitoring / Archive plugin fails to reconstruct archived stanza

Description

When an archived message does not contain a stanza, but does contain body data, the monitoring plugin attempts to reconstruct the stanza. A string formatter is used here, but uses invalid parameters. This results in a stanza that contains placeholders, rather than actual data.

Environment

None

Activity

Show:
Daryl Herzmann
January 7, 2019, 3:57 AM
Rabbit
December 18, 2018, 3:07 PM

Regarding Momone's comment about the bug in a cluster, I found this code in ArchiveInterceptor.java: if the message comes from a senior member it gets processed and stored correctly, but if it is a junior member it gets sent to a queue with no stanza and hence is not saved correctly.

Maybe this is the cause?

 

mamei
August 7, 2018, 9:59 AM
Edited

The bug is still present in case of cluster configuration.

When a junior member submits a message to the senior member, as event of type "chatMessageReceived", the ConversationEvent run method passes an empty string to the conversationManager.processMessage method.

 

Guus der Kinderen
March 5, 2018, 7:37 PM

Fixed in monitoring plugin version 1.6.0.

Moved to GH
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen