Page MenuHomeFeedback Tracker

count scripting command behaves wrong for config classes
Closed, ResolvedPublic

Description

The count scripting command yields inconsistent results on config classes. Usually it counts all entries in a class, including inherited. For example:

class A {

entry1 = 1;
entry2 = 2;

};

class B : A {

entry3 = 3;

};

A count on A yields 2, and a count on B yields 3, as expected.

However:
class C: B {
};

yields zero, since the class only inherit but doesn't define any entries itself.

Details

Legacy ID
501539158
Severity
None
Resolution
Duplicate
Reproducibility
Always
Category
Scripting

Event Timeline

Alwarren edited Steps To Reproduce. (Show Details)Sep 30 2014, 7:24 PM
Alwarren edited Additional Information. (Show Details)
Alwarren set Category to Scripting.
Alwarren set Reproducibility to Always.
Alwarren set Severity to None.
Alwarren set Resolution to Duplicate.
Alwarren set Legacy ID to 501539158.May 7 2016, 7:31 PM

duplicate of #20479