Posting mulitple items to a pubsub node with the same ID will cause a new ID to be generated for the item instead of overwriting the item.

Description

None

Environment

None

Attachments

1

Activity

Show:

Robin Collier September 15, 2009 at 8:14 PM

New ID is only created when it is not supplied by the publisher. A duplicate id will overwrite the old item.

Robin Collier August 21, 2009 at 10:30 PM

I only had version 1.12 of the spec to go by, so it is quite possible that this should go as a subtask of OF-25, which is what I did with other tasks that I knew were related to version updates.

According to 1.12, if a new item is published with the same id as an existing one, it must overwrite the existing one. I checked the diffs for changes between versions and I did not see this listed as a change between 1.8 (which I believe is the currently supported version) and 1.12

Gaston Dombiak August 21, 2009 at 3:20 AM

Patch looks good to me. Patch is not doing an actual update but a remove and create so we are not keeping a creation and updated date which would be a nice thing to have.

FYI, more than a Bug this issue is an enhancement. The version of pubsub that was implemented didn't support updates of items but just add and remove.

Robin Collier July 3, 2009 at 11:14 PM

This patch is the fix for and OF-17.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 15, 2009 at 9:25 PM
Updated February 1, 2010 at 3:31 AM
Resolved September 15, 2009 at 8:14 PM