Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Move update of thing to after update of item to ensure information is correctly presented #263

Merged
merged 1 commit into from
Apr 21, 2015

Conversation

cdjackson
Copy link
Contributor

Currently, when you update the label in the linked thing, the 'thing updated' event responds with the updated information being the same as the old information. This is because the thing is updated before the item, so we send incorrect information.
This PR reverses the order - the thing information is updated after the item, so the item changes are now correctly presented in the SSE event.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465079
Signed-off-by: Chris Jackson [email protected]

@dnobel
Copy link
Contributor

dnobel commented Apr 21, 2015

If changing the order solves your issue, we can merge it. But I think we need to continue the discussion on the bug.

dnobel added a commit that referenced this pull request Apr 21, 2015
Move update of thing to after update of item to ensure information is correctly presented
@dnobel dnobel merged commit cee40aa into eclipse-archived:master Apr 21, 2015
@cdjackson
Copy link
Contributor Author

If changing the order solves your issue, we can merge it. But I think we need to continue the discussion on the bug.

Completely agree - thanks...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants