SourceForge has been redesigned. Learn more.
Close

#4 Inheritance Class with PropertyArray is not created.

backlog
open
sfcb (22)
Function
2013-05-31
2009-05-15
No

I issue following methods.
(1) Issue CreateClass with PropertyArray which has valueArray.
(2) Issue CreateClass with PropertyArray which has valueArray, that class inherit above class.
(3) Issue GetClass for inherit class.
There are no responses, there is error log in syslog.
May 15 17:10:12 ubuntu-vm kernel: [295866.253238] sfcbd[13503]: segfault at b7264000 eip b7ea5421 esp bff95f70 error 6

There are no errors, in the case of PropertyArray (1)and(2) has null-value.

If the PropertyArray (1) has null-value and (2) has valueArray, another error occued at (3).
May 15 17:23:09 ubuntu-vm sfcb[14101]: cimXmlGen.c(505): invalid value2xml 5-5

CIM-XML;
(1)
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="4552" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="CreateClass">
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="root"/>
<NAMESPACE NAME="interop"/>
</LOCALNAMESPACEPATH>
<IPARAMVALUE NAME="NewClass">
<CLASS NAME="CIM_New">
<PROPERTY.ARRAY NAME="testProperty" TYPE="string" ARRAYSIZE="3">
<VALUE.ARRAY>
<VALUE>a</VALUE>
<VALUE>b</VALUE>
<VALUE>c</VALUE>
</VALUE.ARRAY>
</PROPERTY.ARRAY>
</CLASS>
</IPARAMVALUE>
</IMETHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>

(2)
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="4553" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="CreateClass">
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="root"/>
<NAMESPACE NAME="interop"/>
</LOCALNAMESPACEPATH>
<IPARAMVALUE NAME="NewClass">
<CLASS NAME="CIM_New_Inheritance" SUPERCLASS="CIM_New">
<PROPERTY.ARRAY NAME="testProperty" TYPE="string" ARRAYSIZE="3">
<VALUE.ARRAY>
<VALUE>d</VALUE>
<VALUE>e</VALUE>
<VALUE>f</VALUE>
</VALUE.ARRAY>
</PROPERTY.ARRAY>
</CLASS>
</IPARAMVALUE>
</IMETHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>

(3)
<?xml version="1.0" encoding="utf-8"?>
<CIM CIMVERSION="2.0" DTDVERSION="2.0">
<MESSAGE ID="4554" PROTOCOLVERSION="1.0">
<SIMPLEREQ>
<IMETHODCALL NAME="GetClass">
<LOCALNAMESPACEPATH>
<NAMESPACE NAME="root"/>
<NAMESPACE NAME="interop"/>
</LOCALNAMESPACEPATH>
<IPARAMVALUE NAME="ClassName">
<CLASSNAME NAME="CIM_New_Inheritance"/>
</IPARAMVALUE>
</IMETHODCALL>
</SIMPLEREQ>
</MESSAGE>
</CIM>

Discussion

  • Shigeyoshi Hashi

    The patch for 2794712 can fix this also.
    Please refer 2794712_QualifierInheritance3.patch

    GetClass result is follows;
    <?xml version="1.0" encoding="utf-8"?>
    <CIM CIMVERSION="2.0" DTDVERSION="2.0">
    <MESSAGE ID="4131" PROTOCOLVERSION="1.0">
    <SIMPLERSP>
    <IMETHODRESPONSE NAME="GetClass">
    <IRETURNVALUE>
    <CLASS NAME="CIM_New_Inheritance" SUPERCLASS="CIM_New">
    <PROPERTY.ARRAY NAME="testProperty" TYPE="string">
    <VALUE.ARRAY>
    <VALUE>d</VALUE>
    <VALUE>e</VALUE>
    <VALUE>f</VALUE>
    </VALUE.ARRAY>
    </PROPERTY.ARRAY>
    </CLASS>
    </IRETURNVALUE>
    </IMETHODRESPONSE>
    </SIMPLERSP>
    </MESSAGE>
    </CIM>

     
  • Chris Buccella

    Chris Buccella - 2013-02-12
    • component: --> sfcb
     
  • Chris Buccella

    Chris Buccella - 2013-02-21

    Ticket moved from /p/sblim/bugs/1594/

    Can't be converted:

    • _component: sfcb
    • _milestone: Function
    • _priority: 5
     
  • Michael Chase-Salerno

    • category: --> Function
    • milestone: Function --> 1.4.5
     
  • Chris Buccella

    Chris Buccella - 2013-05-31
    • Release: 1.4.5 --> backlog
     

Log in to post a comment.