Deprecated: Assigning the return value of new by reference is deprecated in /home/ayersd/public_html/MyBlog/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/ayersd/public_html/MyBlog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/ayersd/public_html/MyBlog/wp-includes/theme.php on line 540
Groovy MDM » Blog Archive » Issue With ZRM Data Store - Unnecessary GETs

Issue With ZRM Data Store - Unnecessary GETs

The ZRM Data store called by UI Dojo widget appears to be making unnecessary GETs to the resource handler.  I noticed this initially by watching the traffic flowing over the RMI Gateway.  I saw three searchPerson service invocations every time I loaded or refreshed the index.html page.

One of the developers on the Project Zero forums pointed me to Firebug, a Firefox plug in, that lets you view and debug the client side processing.  Sure enough, the console monitor showed the three calls:

Firebug Console Output

Not a big deal for the demo, but unacceptable for this use case.  Extra external calls are too expensive.  Certainly, you don’t want extra calls on the onAdd() method.  I’ve posted the suspected defect to the Project Zero bug tracking forum.

One Response to “Issue With ZRM Data Store - Unnecessary GETs”

  1. Doog Says:

    Here is the link to the support ticket: http://www.projectzero.org/bugzilla/show_bug.cgi?id=8965

    The ZRM grid is being reimplemented for the Monza release. I’ll check whether this problem persists after that’s available.

    In the meantime, support suggested a possible workaround. They directed me to make this change: edit the DataGrid.js in
    /zero-repository/stable/expanded/zero/zero.dojo-1.0.0.4xxxx/public/zero/grid/DataGrid.js
    and remove the reload() call in the postCreate method.

    This change appears to have “fixed” the problem. The onList() is called just once and the grid still functions just fine.

Leave a Reply

You must be logged in to post a comment.