Managed Hosting



RIAForge Downloader
Project Home Known Issues Screenshots Contact Project

RIAForge Downloader Issue: Altering per page count does nothing

Name: Altering per page count does nothing
ID: 2
Project: RIAForge Downloader
Type: Bug
Area: Code
Severity: Low
Status: Closed
Related URL:
Creator: Dave Ferguson
Created: 08/30/09 1:48 PM
Updated: 08/31/09 9:50 AM
Description: When altering the application.pageSize value it has no affect. You still get 10 items per page.
History: Created by dfgrumpy (Dave Ferguson) : 08/30/09 1:48 PM

Comment by cfjedimaster (Raymond Camden) : 08/30/09 3:58 PM
This isn't a bug per se. The code is cached in onApplicationStart. You can either restart your CF server, or simply rename the application by editing the this.name line in Application.cfc.

Updated by cfjedimaster (Raymond Camden) : 08/30/09 3:59 PM

Comment by dfgrumpy (Dave Ferguson) : 08/30/09 6:36 PM
I changed the setting to 20 then I reset application. This should have caused all 17 cfbuilder projects to load. Only the first 10 records displayed. In digging deeper this is because the service to load the projects only returns 10 records. (http://www.riaforge.org/boltapi/api.cfc?method=getprojects) There is no setting to tell the service to return more than 10.

Comment by cfjedimaster (Raymond Camden) : 08/31/09 9:50 AM
Ah - I checked. THe code has a sanity check where if per page > 100, it resets it back to 10.

To add a comment to this bug, please login using the link above.