Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Update Hang

    SmartClient Version: v8.2p_2012-06-23/PowerEdition Deployment (built 2012-06-23)
    Firefox 7
    IE8
    Chrome

    I have some calls from the client to update() on a datasource, and when making those calls, the browser hangs and never comes back- it has to be forcibly closed.

    Code:
    ...
    myDataSource.update(someRecord);
    Watching the server log shows that the call does not make it, or at least not to the point where the server would log the parameters.

    I am unable to watch the RPC tab in the Developer Console, because the browser is hung by that point.

    Any recommendations on where to look?

    #2
    Assuming you mean updateData() (and not your own update() method, which might hang), there is probably something inside the record that you are passing to updateData() that can't be serialized.

    The method is designed to handle looping data structures and wrongly passing widgets inside records, but if you for example pass a reference to a very large but non-looping data structure, we will try to serialize it just like you told us to.

    If it's not obvious what in the record that creates the problem, bear in mind you really only need to pass a Record that has the primary key plus fields you mean to update.

    Also, again if you're stuck, GWT development mode may be masking the real problem, you might try compiled mode.

    Comment

    Working...
    X