Managed Hosting



ColdFusion Administrator Mobile (CFAM)
Project Home Known Issues Screenshots Contact Project

ColdFusion Administrator Mobile (CFAM) Issue: utils.cfc typo

Name: utils.cfc typo
ID: 2
Project: ColdFusion Administrator Mobile (CFAM)
Type: Bug
Area: Code
Severity: Low
Status: Open
Related URL:
Creator: Bob Chesley
Created: 08/31/10 12:19 PM
Updated: 08/31/10 1:53 PM
Description: Found a nit in utils.cfc:
*** before ***
for (var i in r) {
   if(structKeyExists(dsn,i))   r[i] = dsn[i];
*** after ***
for (i in r) {
   if(structKeyExists(dsn,i))   r[i] = dsn[i];

History: Created by bob.chesley@nhsoftwerks.com (Bob Chesley) : 08/31/10 12:19 PM

Comment by cfjedimaster (Raymond Camden) : 08/31/10 12:26 PM
Is this a CF8 issue? That works fine in CF9.

Comment by cfsilence (Todd Sharp) : 08/31/10 1:50 PM
Ray - that makes it 9.0 compatible (but you'd have to var scope i before the loop). There are a whole lot of other issues to make it 8 compatible (like getting rid of the script components)...

Comment by cfjedimaster (Raymond Camden) : 08/31/10 1:53 PM
The ability to var in a loop was in CF9 though. Not 901 afaik. Am I remembering wrong?

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