Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#4805 closed defect (fixed)

dojox.data.FlickrRestStore requests too much data

Reported by: sos Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.0
Component: DojoX Data Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

The FlickrRestStore?'s algorithm for determining the page and number of records per page to request from Flickr is flawed. It results from far too much data being retrieved, and slowing it's operation considerably.

While the data store currently passes all tests, it would be better to retrieve smaller pages.

Attachments (2)

FlickrRestStore.js (14.2 KB) - added by sos 12 years ago.
New version of the file
dojox.data.paging.patch (685 bytes) - added by sos 12 years ago.
Patch file to fix this issue

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by sos

Attachment: FlickrRestStore.js added

New version of the file

comment:1 Changed 12 years ago by sos

I uploaded the new version of the file, which fixes this issue. My patch software is acting badly at the moment, so no patch is available. Still, only a few lines have changed, and a diff with the current version should suffice.

Changed 12 years ago by sos

Attachment: dojox.data.paging.patch added

Patch file to fix this issue

comment:2 Changed 12 years ago by sos

I attached an newer patch file to fix this issue

comment:3 Changed 12 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

(In [11056]) Minor patch for efficiency, done by sos. fixes #4805

Note: See TracTickets for help on using tickets.