Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8514 closed defect (fixed)

thumbnailPicker Widget - infinite loading of images after setDatastore to change the datastore.

Reported by: hzerres Owned by: Shane O'Sullivan
Priority: high Milestone: 1.4
Component: DojoX Widgets Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

this._loadNextPage() sends a request to fetch images and uses a variable called Boolean:this._loadInProgress to have some kind of semaphore.

This variable is not reset when setDatastore is called to replace the images in the thumbnailpicker.

My workaround right now is to add line 237 to the ThumbnailPicker?.

234 this.request.start = 0; 235 this.request.count = this.pageSize; 236 this.imageStore = dataStore; 237 this._loadInProgress = false; 238 239 if(!this.init()){this._loadNextPage();} 240 },

I would appreciate it, if someone would fix this. Thank you!!

Change History (5)

comment:1 Changed 10 years ago by dante

Owner: changed from dante to Shane O'Sullivan

comment:2 Changed 10 years ago by dante

Milestone: tbdfuture

comment:3 Changed 10 years ago by Shane O'Sullivan

(In [20288]) Refs #8514 Fixes issue where setting a datastore after one has been previously set causes an error to be thrown. Also fixes positioning bug where the play button in the slideshow was not centered correctly.

comment:4 Changed 10 years ago by Shane O'Sullivan

Resolution: fixed
Status: newclosed

comment:5 Changed 10 years ago by dante

Milestone: future1.4

can't close a future ticket.

Note: See TracTickets for help on using tickets.