Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

ColdMock
Project Home Blog Forums Wiki Known Issues Contact Project

ColdMock Issue: Will not property deal with types that use CFC array syntax.

Name: Will not property deal with types that use CFC array syntax.
ID: 1
Project: ColdMock
Type: Bug
Area: Code
Severity: Low
Status: Fixed
Related URL:
Creator: Brian Kotek
Created: 10/12/07 12:50 PM
Updated: 11/14/07 11:15 AM
Description: From: João Fernandes

I think I found a bug on ColdMock on the onMissingMethod function.

If you have a return type in your function of type some.cfc.path.object[] it will fail to mock that method because you are trying to use isValid().

The code where it fails it's in line 156: <cfif not IsValid( local.currentFunction.parameters[ local.thisArg ].type, arguments.missingMethodArguments[ local.tempKey ])>
History: Created by brian428 (Brian Kotek) : 10/12/07 12:50 PM

Updated by brian428 (Brian Kotek) : 11/14/07 11:15 AM

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