From: SourceForge.net <no...@so...> - 2010-08-20 20:58:59
|
Bugs item #3048960, was opened at 2010-08-19 17:26 Message generated for change (Comment added) made by mchasal You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=3048960&group_id=128809 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: sfcb Group: Function Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Chase-Salerno (mchasal) Assigned to: Michael Chase-Salerno (mchasal) Summary: method array types not filled in Initial Comment: If a methodcall is made with an array parameter without a type. A type mismatch is returned. Should be getting the type from the repo and filling it in. The relavent code is in cimXmlOps.y, updateMethodParamTypes: if (ptok->type == 0) { /* * Type was unknown, fill it in */ ptok->type = pdata.type; } else if (ptok->type != pdata.type) { /* * Parameter type mismatch */ _SFCB_RETURN(CMPI_RC_ERR_TYPE_MISMATCH); } The problem is that, in the case of an array, when the type is not specified the type being checked is 8192, which is a CMPIArray with no data type. That doesn't match 0 so the code to fill it in is not triggered. ---------------------------------------------------------------------- Comment By: Michael Chase-Salerno (mchasal) Date: 2010-08-20 16:58 Message: committed to CVS HEAD and git master ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=3048960&group_id=128809 |