Managed Hosting



RIAForge Downloader
Project Home Known Issues Screenshots Contact Project

RIAForge Downloader Issue: IDEDATA undefined in Session, CFBuilder Beta 3 broke it?!?

Name: IDEDATA undefined in Session, CFBuilder Beta 3 broke it?!?
ID: 5
Project: RIAForge Downloader
Type: Bug
Area: Code
Severity: High
Status: Open
Related URL:
Creator: Jay
Created: 11/23/09 2:03 PM
Updated: 11/23/09 4:40 PM
Description: Was Bolt making ideeventinfo available as an XML variable? CFBuilder doesn't appear to populate this so RIAForge Downloader fall down, go BOOM!

Error Occurred While Processing Request
Element IDEDATA is undefined in SESSION.

The error occurred in C:\Inetpub\wwwroot\RIAForge Download\handlers\confirmdownload.cfm: line 9

7 : <cfset pdata = deserializeJSON(result.fileContent,false)>
8 :
9 : <cfset data = session.idedata>
10 : <cfset resource = data.event.ide.projectview.resource>
11 : <cfset basedirectory = resource.xmlAttributes.path>

History: Created by jayDee (Jay) : 11/23/09 2:03 PM

Comment by cfjedimaster (Raymond Camden) : 11/23/09 2:05 PM
Please test something for me. Go to your CF Admin and see if J2EE sessions is turned on. If not, turn it on, restart CF, and try the extension again. Let me know what happens.

Comment by jayDee (Jay) : 11/23/09 2:56 PM
OK, enabling j2ee sessions got me further on. Now the sessoin.idedata is populated, but the popup for RIAForge Download, after selecting a project, says "The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Using some cfdump tags I'm seeing that the rooturl var in selectProject is correctly set to, but the link in the selectProject.cfm is broken. I'll try to figure out what it's being set to and let you know...

I'm running CFBuilder standalone, B3, over CF9 using IIS as the webserver.

Comment by cfjedimaster (Raymond Camden) : 11/23/09 3:00 PM
Let me know please. FYI, the issue with J2EE sessions is - I believe - a unrelated bug in CF9. I've had bad luck trying to reproduce it consistently. :(

Also - CFB is still beta 2 last time I checked.

Comment by jayDee (Jay) : 11/23/09 3:15 PM
OK, it IS a malformed URL, I added code to output the url formed by the urlSessionFormat(etc. and get something for "CFBuilder new color scheme" of
http: // RIAForgeDownload/handlers/confirmdownload.cfm;jsessionid=84306c834d5c32f9bcc9372c49394e147d50?project=818
(threw in extra spaces to keep from being blocked, but note the semicolon before jsessionid)
This doesn't make sense to me since you're passing the confirmdownload.cfm with the project id as a parameter into the urlSessionFormat function. WTF more don't I yet understand about CF!

Comment by cfjedimaster (Raymond Camden) : 11/23/09 3:25 PM
Hmm. I'm not able to reproduce this. Using Server 2008, IIS7. Are you on IIS6?

Comment by jayDee (Jay) : 11/23/09 4:40 PM
POC! Running on WinXP with IIS 5.1. I'll see if I can find IIS 6 and update...

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