1

Closed

Add Task

description

Hi again.

Don't know if this is the rigth place to post this

The metod

public RawList AddTask(string name, bool parse, int timeline)
    {
        return AddTask(name, parse, -1, timeline);
    }
Throws the following exception

IronCow.RtmException: list_id invalid or not provided
en IronCow.Rest.RestClient.GetResponse(String method, NameValueCollection parameters, Boolean throwOnError) en C:\Temp\IronCow_0.4.10.0_src\IronCow\Rest\RestClient.cs:línea 692
en IronCow.Rest.RestClient.GetResponse(String method, NameValueCollection parameters) en C:\Temp\IronCow_0.4.10.0_src\IronCow\Rest\RestClient.cs:línea 615
en IronCow.Rest.RestClient.AddTask(String name, Boolean parse, Nullable`1 listId, Int32 timeline) en C:\Temp\IronCow_0.4.10.0_src\IronCow\Rest\RestClient.cs:línea 280
en IronCow.Rest.RestClient.AddTask(String name, Boolean parse, Int32 timeline) en C:\Temp\IronCow_0.4.10.0_src\IronCow\Rest\RestClient.cs:línea 263

i've modified your source to...

public RawList AddTask(string name, bool parse, int timeline)
    {
        return AddTask(name, parse, null, timeline);
    }
and it seems it works properly
Closed Apr 23, 2009 at 5:51 PM by
Submitted fix.

comments

ludovic_chabant wrote Apr 23, 2009 at 5:50 PM

Sorry, didn't see this new work item... thanks for the fix.