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

Monitoring plugin does not add namespace

Description

After OF-1087, (applied in 1.5.1) the Monitoring plugin stopped returning namespaces in messages that it returns as part of a retrieve-archive request.

As you can see in the reproduction below, the archived messages are returned without a namespace (look at the stanza with ID purpleed855cd3 for example).

If no 'xmlns' is set for the stanza then as per XML namespacing rules it would inherit the 'urn:xmpp:forward:0' namespace, which is wrong (see XEP-0297).

Stanzas should be saved with their original namespace (which will cause them to be returned with their original namespace), but as that won't fix existing archives, and the only stanza being saved is a message stanza, the namespace perhaps could be reconstructed when constucting the MAM response.

Reproduction:

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Guus der Kinderen
April 27, 2016, 8:06 PM

This bug is referenced in Stanza.io's bugtracker, here: https://github.com/otalk/stanza.io/issues/139

Assignee

Guus der Kinderen

Reporter

Guus der Kinderen

Labels

None

Expected Effort

None

Ignite Forum URL

None

Fix versions

Priority

Major
Configure