UnmanagedHubListener: failed to push op into engine remote op missing total order

13 views
Skip to first unread message

nvd_ai

unread,
Jun 17, 2011, 6:06:50 PM6/17/11
to opencoweb
Hi all,

I am trying to use coweb to synchronize a JavaScript object properties
on two sites. When I call:

this.collab.sendSync(name, value, 'insert');//collab is my coweb
instance

on the local machine it throws:
"UnmanagedHubListener: failed to push op into engine remote op
missing total order"
and I receive nothing on the remote machie.

I have verified that:
name is an string which is the key of the property that should be
synchronized.
value is a JSON-encodable object.

I have also tried with sendSync(..., 'update') and
sendSync(...,'insert',1) but all throw the same message.

I have read sendSync API and related documentation:http://
opencoweb.org/ocwdocs/intro/openg.html
and also read the whole shopping list code and documentation. But I am
still stuck.

In practice, what I want to do is very simple and the same as shopping
list example. In my application I just do not have any order for the
synchronized items as the properties are kept in object hash so I do
not need an array. Could this have anything to do with the missing
total order?

does anyone know where is the problem and how to fix this?

Navid

Peter Parente

unread,
Jun 17, 2011, 9:30:56 PM6/17/11
to open...@googlegroups.com
Hi Navid,

What version of ocw are you using? There is a bug in 0.5 that causes the first event sent in a session to raise this exception if it's of type insert, update, or delete. It is fixed in github and will be rolled out in 0.6.

The bug report and fix are here:


Regards,
Pete
Reply all
Reply to author
Forward
0 new messages