Menu

#104 Local only flag issue with GetClass and EnumerateClass

backlog
duplicate
None
3
Function
2014-03-27
2014-03-11
No

Both CMPI_FLAG_LocalOnly or CMPI_FLAG_DeepInheritance in getClass or enumearateClasses returns the same data, the response contains properties from the parent class. We are not able to differentiate the output from both the flags

for example

enumeration = cc->ft->enumClasses(cc, objectpath,
CMPI_FLAG_DeepInheritance|CMPI_FLAG_IncludeQualifiers, &status);

or

enumeration = cc->ft->enumClasses(cc, objectpath,
CMPI_FLAG_LocalOnly|CMPI_FLAG_IncludeQualifiers, &status);

the output is same

Discussion

  • Chris Buccella

    Chris Buccella - 2014-03-12

    Which class provider are you using? (check the "location" field under the class provider entry in providerRegister)

     
  • Chris Buccella

    Chris Buccella - 2014-03-12
    • assigned_to: Chris Buccella --> Dave Heller
     
  • Chris Buccella

    Chris Buccella - 2014-03-12

    Ticket moved from /p/sblim/bugs/2727/

    Can't be converted:

    • _component: sfcb
    • _milestone: Function
    • _priority: 3
     
  • Chitrak Gupta

    Chitrak Gupta - 2014-03-13

    We have a user defined class derived from CIM_View. When we perform a enumerateClasses with CMPI_FLAG_LocalOnly, the response contains prperties from base class. Also we do see a difference in output with either CMPI_FLAG_LocalOnly or CMPI_FLAG_DeepInheritance.The same set of properties are returned

     
  • Dave Heller

    Dave Heller - 2014-03-27
    • Priority: 3 --> 3
    • Category: --> Function
    • Release: Function --> backlog
     
  • Dave Heller

    Dave Heller - 2014-03-27

    This appears to be a duplicate of https://sourceforge.net/p/sblim/sfcb-tix/20/.

    The request is still open but due to resource constraints has not been given a high priority.

     
  • Dave Heller

    Dave Heller - 2014-03-27
    • status: open --> duplicate
     

Log in to post a comment.