version 1.23, 2005/03/12 20:16:39
|
version 1.24, 2005/03/13 00:08:47
|
|
|
// The normalizer expects an object path embedded in instances even | // The normalizer expects an object path embedded in instances even |
// though it is not required by this operation. Use the requested | // though it is not required by this operation. Use the requested |
// object path is missing from the instance. | // object path is missing from the instance. |
if(cimInstance.getPath().getKeyBindings().size() == 0) |
CIMInstance localInstance(cimInstance); |
|
|
|
if(localInstance.getPath().getKeyBindings().size() == 0) |
{ | { |
cimInstance.setPath(request->instanceName); |
// ATTN: should clone before modification |
|
localInstance.setPath(static_cast<CIMGetInstanceRequestMessage *>(getRequest())->instanceName); |
} | } |
| |
SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(cimInstance)); |
SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(localInstance)); |
#else | #else |
SimpleInstanceResponseHandler::deliver(cimInstance); | SimpleInstanceResponseHandler::deliver(cimInstance); |
#endif | #endif |