I'm having a strange problem with the pubsub system that I think is a bug. I created a new node with max_items set to 20 which allows me to publish 20 items to the node before I start to receive retract notifications when I attempt to add any more. This much works as I expect.
The problem comes when I publish multiple items with the same id. Each individual publish counts toward my max items limit, even though publishing with the same id does not actually create a new item in the node. This means that I am only actually able to store the last 20 publishes, not actually the last 20 items (ie if I published 15 new items and then republished the last one 5 times, on the next publish my first item would be retracted).
I have just finished building a pubsub system where there will be lots of edits (publishing again with the same id), and this problem is pretty major because it prevents users from storing the max number of items in the node.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||ejabberd 2.1.0 [ 10140 ]|
|Fix Version/s||ejabberd 3.0.0-alpha [ 10240 ]|
|Fix Version/s||ejabberd 2.0.5 [ 10301 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Workflow||development v3 [ 68658 ]||Development v4 [ 81153 ]|