From: Chris B. <buc...@us...> - 2010-12-21 23:01:57
|
Update of /cvsroot/sblim/sfcb In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv2837 Modified Files: cimXmlRequest.c ChangeLog NEWS Log Message: [ 3130727 ] CMPIPropertyMIFT.setProperty() missing objectpath keys Index: NEWS =================================================================== RCS file: /cvsroot/sblim/sfcb/NEWS,v retrieving revision 1.566 retrieving revision 1.567 diff -u -d -r1.566 -r1.567 --- NEWS 29 Nov 2010 21:15:09 -0000 1.566 +++ NEWS 21 Dec 2010 23:01:49 -0000 1.567 @@ -1,3 +1,10 @@ +Changes in 1.3.11 +================= + +Bugs fixed: + +- 3130727 CMPIPropertyMIFT.setProperty() missing objectpath keys + Changes in 1.3.10 ================= Index: cimXmlRequest.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimXmlRequest.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- cimXmlRequest.c 20 Aug 2010 19:25:38 -0000 1.60 +++ cimXmlRequest.c 21 Dec 2010 23:01:49 -0000 1.61 @@ -2234,10 +2234,10 @@ _SFCB_ENTER(TRACE_CIMXMLPROC, "setProperty"); CMPIObjectPath *path; CMPIInstance *inst; - CMPIType t; + CMPIType t, type; CMPIStatus rc; - CMPIValue val; - int irc; + CMPIValue val, *valp; + int irc, i, m; BinRequestContext binCtx; BinResponseHdr *resp; SetPropertyReq sreq = BINREQ(OPS_SetProperty, 3); @@ -2247,6 +2247,13 @@ hdr->className=req->op.className.data; path = TrackedCMPIObjectPath(req->op.nameSpace.data, req->instanceName.className, &rc); + for (i = 0, m = req->instanceName.bindings.next; i < m; i++) { + valp = getKeyValueTypePtr(req->instanceName.bindings.keyBindings[i].type, + req->instanceName.bindings.keyBindings[i].value, + &req->instanceName.bindings.keyBindings[i].ref, + &val, &type, req->op.nameSpace.data); + CMAddKey(path, req->instanceName.bindings.keyBindings[i].name, valp, type); + } inst = internal_new_CMPIInstance(MEM_TRACKED, NULL, NULL, 1); Index: ChangeLog =================================================================== RCS file: /cvsroot/sblim/sfcb/ChangeLog,v retrieving revision 1.639 retrieving revision 1.640 diff -u -d -r1.639 -r1.640 --- ChangeLog 29 Nov 2010 21:15:09 -0000 1.639 +++ ChangeLog 21 Dec 2010 23:01:49 -0000 1.640 @@ -1,3 +1,8 @@ +2010-12-21 Chris Buccella <buc...@li...> + + * cimXmlRequest.c: + [ 3130727 ] CMPIPropertyMIFT.setProperty() missing objectpath keys + 2010-11-29 Chris Buccella <buc...@li...> * queryLexer.l, test/TestProviders/cmpiTestMethodProvider.c, |