This project is read-only.

SCIF 2.0 Specification

3.2.4 ExecuteNullableQuery may return unusable object not null

Issue Description:

(Work Item 4217 -

In the code segment of ExecuteNullableQuery:
    IResultObject obj = connection.QueryProcessor.ExecuteQuery(wqlQuery);
    if (obj != null)
        return obj;
    return null;

The IResultObject returned may be not null since it may contain an additional ConnectionManager, even though the IResultObject contains no other useful result from the query. Perhaps we need to test this object a bit further before returning the useless object rather than the desirable "null" value.

Change Needed:

Need to modify the code to detect valid but empty IResultObjects returned form the query.

Change Description:

Example Scenario:

Last edited Sep 3, 2009 at 8:43 PM by rhearn, version 1


No comments yet.