Closed Wayenyin closed 7 years ago
We verified on our own private build and looks like it doesn't fix, anyway, we will verify with tomorrow's build to double check, thanks.
I don't think you need to do postInstance there. Afterall, the server already got the instance object on server side. Posting it back to the client is useless because the client supposedly has the instance, hence sending it for Create Instance command.
Unless the client needs to get "instance data" back from server while doing Create Instance command.
Yes. You should not be calling PostInstance in a CreateInstance method.
This should be fixed in PR #77
Verified on Python provider build 1.1.1-47 and the 'create' operation can be posted.
root@omi64-cent7-01 # /opt/omi/bin/omicli ci root/cimv2 { TestClass_AllDMTFArrays v_Key 4 }
instance of TestClass_AllDMTFArrays
{
[Key] v_Key=4
}
Build
Reproduce steps
NOTE: If you try to set as following, it will work fine.
Run ci command, then run ei to check new instance