Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryGallery paging issue?Gallery paging issue?
Previous
 
Next
New Post
10/5/2007 8:50 PM
 

Hello all,

I'm using the gallery version 4.02.01 and i uploaded about 40 images.  My problem occurs with paging... I see that all 40 images are there.  When I view page 1 I can see that my first 12 images appear (based on my settings).  Then when I view page 2, 3, etc... my images are erractic.  I see duplicate images, missing images, etc.  This problem only occurs when trying to view using the paging feature.

Does anybody have any ideas?  I already uninstalled/reinstalled the module, uploaded the images individually versus a zip file... I just can't figure out the problem.  Any help is greatly appreciated.

 

Thank you.

 
New Post
10/6/2007 10:19 AM
 

Thats a known bug with my 4.2.x versions. 

It has to do with how .NET sorts the list of files.  Basically the code sorts the list of images to determine what items to display on each page, then when it goes to display the actual page it re-sorts the list.  The MS sort routines are an "unstable sort" which means that the second time the sort is done, identical value may (will) come back in a different order.  So what happens is the first part of the page adds the images, but the second part of the page finds a different list of images to actually draw.

Some solutions you might want to try is sorting by filename, or adding some text to whatever you are sorting on so that everything has text.. eg.  if you are sorting on title make sure that every image has a title (and that no 2 are the same).  The actual fix in the code is rather complicated as I needed to rewrite a bunch of code to get rid of the double sorting of the list.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryGallery paging issue?Gallery paging issue?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out