Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

Connect XML API Component
Project Home Known Issues Contact Project

Connect XML API Component Issue: init function did not have default values on non required arguments

Name: init function did not have default values on non required arguments
ID: 1
Project: Connect XML API Component
Type: Bug
Area: Code
Severity: Low
Status: Fixed
Related URL:
Creator: David D Brown
Created: 06/08/09 3:00 PM
Updated: 06/08/09 3:19 PM
Description: <cfargument name="url" type="string" required="true" />
      <cfargument name="username" type="string" required="true" />
      <cfargument name="password" type="string" required="true" />
      <cfargument name="proxyServer" type="string" required="false" default="" />
      <cfargument name="proxyPort" type="numeric" required="false" default="0" />
      <cfargument name="proxyUser" type="string" required="false" default="" />
      <cfargument name="proxyPassword" type="string" required="false" default="" />

I added defaults to each of the non required entires. An error occured at starting at lne 16 of connectapi.cfc due to variable did not exist without default value.
History: Created by dbrown2 (David D Brown) : 06/08/09 3:00 PM

Updated by remotesynth (Brian Rinaldi) : 06/08/09 3:19 PM
Added the defaults.

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