Menu

#172 Fixed bug in createInstance() by returning created one

WBEM_Services_1.0
open-fixed
5
2006-05-18
2006-05-18
No

Modified class CIMOMImpl.java:

public CIMObjectPath createInstance(CIMObjectPath op,
CIMInstance ci) throws CIMException
{
if (op.getNameSpace().equalsIgnoreCase(SYSTEMNS) &&
ci.getClassName().equalsIgnoreCase
("Solaris_CIMOM"))
{
throw new CIMException
(CIMException.CIM_ERR_NOT_SUPPORTED);
}
aclCheck(ci);
ps.addCIMElement(op.getNameSpace(), ci);

//fix bug by zjw-begin
op.setKeys(ci.getKeys());
//fix bug by zjw-end

return op;
}

Discussion

  • Zhang Jun Wei

    Zhang Jun Wei - 2006-05-18

    Logged In: YES
    user_id=1524608

    Please modify the class CIMOMImpl.java

     
  • Zhang Jun Wei

    Zhang Jun Wei - 2006-05-18
    • assigned_to: cc8772850 --> jim_davis
    • status: open --> open-fixed
     

Log in to post a comment.