I running into the same issue. This is still present int 3.9.3 while I havent’t tried your ‘solution’ yet I’m wondering a) how did you come up with that solution b) where is that documented? Neither the PEP nor the PEP Avatar (XEP 0084) XEP states that one has to ‘configure’ those nodes before. In fact PEP is specifically about auto creation (and I guess auto configuration) of nodes (Please proof me wrong on that with links to XEPs)
I’m successful at publishing avatars with just the two IQ stanzes your are mentioning in your first post on ejabberd and prosody servers. Why is openfire behaving differently and why has this behaviour changed between 3.7 and 3.8?
Can we maybe get a comment from a openfire dev on that? And maybe create a bug report?
I’ve seen this misbehavior too recently. I’ve debugged Openfire and now know the cause.
The problem is that Openfire does only return persistent pubsub items, when a user requests items. But avatars / PEP usually don’t persist, but only store the last item in memory.
If the user then requests the avatar it gets an empty list.